WordPress.org

Forums

How does wp-cron get set up during installation? (3 posts)

  1. idealog
    Member
    Posted 7 years ago #

    I've searched but can't find an answer to this.

    How does WordPress install tell Apache/Cron to call wordpress cron on a regular basis?

    Or do I need to set up a cron task after install to call wp-cron.php?

    Thanks!

  2. reedhedges
    Member
    Posted 7 years ago #

    ::sound of crickets chirping::

    I'm completely mystified by "wp-cron" wrt WP 2.2. It's a plugin (though no longer maintained by its author), but it's also part of WordPress 2.2. Should I install the plugin? Should I add an entry to a crontab that runs php with wp-cron.php?

  3. reedhedges
    Member
    Posted 7 years ago #

    OK, I think I figured it out. WP-cron has nothing to do with cron. So it doesn't need any cronjob entries or do anything to apache. It's just a rough approximation; whenever anything happens in wordpress, like a page load, then it checks to see if there are any "cron" jobs scheduled to do, and it does them.

    I am curious how this work with caching, either by apache or by wp-cache plugin...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags