WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] What does wp-cron do ?? (5 posts)

  1. pete_398
    Member
    Posted 1 year ago #

    As the topic states, what does the WordPress cron job do ? Can I just delete the cron file ? I have no idea of what is being sent from the website via this cron job, could be a security risk.

  2. onsecrethunt
    Member
    Posted 1 year ago #

  3. pete_398
    Member
    Posted 1 year ago #

    That still doesn't explain what it DOES :)

  4. keesiemeijer
    moderator
    Posted 1 year ago #

    wp-cron is a scheduling feature that handles things like database back ups, email or scheduled posts to occur at certain times.

    What has been produced is a system that allows plugin developers to schedule events to occur at certain times. It does this by checking the current time against the list of scheduled tasks every time a page is loaded on the site. If the set time has passed the task (a callback function) is done.

    http://blog.slaven.net.au/2007/02/01/timing-is-everything-scheduling-in-wordpress/
    http://wpdailybits.com/blog/replace-wordpress-cron-with-real-cron-job/74

  5. pete_398
    Member
    Posted 1 year ago #

    Okay, thanks for your reply, some interesting details from those links.

    As I have backups scheduled by the hosting company, and nothing is "scheduled" at all (I have comments, pings and tracebacks all turned off), then I will simply do this in wp-config.php ..

    define('DISABLE_WP_CRON', true)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags