WP-Cron 1.4

WP-Cron 1.4 is now available for download!

This version updates the wp-cron-mail.php helper plugin for blogging by email. This version will now properly handle apostrophes and quote marks in the subject of posts, as well as in the body of the post.

New in this version is a wp-cron-update-links.php helper plugin, which will refresh the "last updated" value of links defined in your Links Manager. See http://mathibus.com/archive/2005/10/wp-blogroll for a tutorial on using the new wp-cron-update-links.php helper plugin. Thanks Mathias!

WP-Cron 1.3

WP-Cron 1.3

This is a very minor update to the WP-Cron suite. No changes have been made to wp-cron.php itself.

wp-cron-mail has been updated to properly addslashes() on the content and subject of submitted emails.

wp-cron-moderation has been updated to avoid an error condition when only one comment is pending in the moderation queue.

WP-Cron 1.2

Version 1.2 of WP-Cron is now officially available.

This version fixes a small error with calculating when the next daily event should occur. Daily actions should now actually occur! =)

Also included with this version is an updated wp-cron-moderation.php, which sends hourly notifications of new comments awaiting moderation.

Here's the list of all WP-Cron plugins included:

  • WP-Cron Dashboard: uses WP-Cron to update the data in your WordPress dashboard (roughly) every hour.
  • WP-Cron Future Pings: suppresses outgoing pingbacks and trackbacks when publishing a post with a date in the future; then uses WP-Cron to periodically check if any such future-dated posts are visible, sending pingbacks and trackbacks as necessary.
    [ May not yet be fully functional ]
  • WP-Cron Gravcache: refresh your cached Gravatar image files on a daily basis.
    [ Experimental, and may not yet be fully functional! ]
  • WP-Cron Mail: periodic check of your secret email account for blog-by-email. This is a near exact copy of the original wp-mail.php, which may or may not be sufficient for your needs. See also http://codex.wordpress.org/Blog_by_Email
  • WP-Cron Moderation: sends an hourly email summary of new pending moderation requests. That is, if you get two new comments at noon, you'll receive one email notififying you. If you take no action, and receive no new comments, you will not get pestered again. You will only receive one email per new comments per hour.
  • WP-Cron Reminder: sends out a generic reminder email to the blog admin (roughly) every 15 and 60 minutes. You can use this to prove to yourself that WP-Cron is working.

Plugin: WP-Cron

WP-Cron is a plugin to support periodic execution of actions / plugins / stuff! From the readme:

WP-Cron provides a rudimentary support for scheduled exection of actions; a sort of “delayed action” processing for WordPress. It is nowhere near as robust as the actual UNIX cron facility, but should be good enough to “do stuff” on a fairly regular basis.

What with human beings, search engine spiders, and content aggregators, we can be fairly sure that even the most uninteresting (public) blog will be visited with some regularity. WP-Cron relies on this regularity to schedule the execution of three new plugin hooks. These hooks execute roughly once every fifteen minutes, every hour, or every day.

Included in the download are three example plugins to demonstrate how to use WP-Cron:

  • wp-cron-dashboard: uses WP-Cron to update the data in your WordPress dashboard (roughly) every hour.
  • wp-cron-reminder: sends out a generic reminder email to the blog admin (roughly) every 15 and 60 minutes. You can use this to prove to yourself that WP-Cron is working.
  • wp-cron-future-pings: suppresses the default ping and trackback action when you post a new item dated in the future. Then (roughly) every 15 minutes the plugin checks to see if any future-dated posts are now visible to readers. If they are, the pings and trackbacks are sent! (note: wp-cron-future-pings requires WordPress 1.5.1.1 to work properly: see changeset 2604)
  • wp-cron-mail: a plugin version of the wp-mail.php script, written to use WP-Cron to support blog-by-email.

Download WP-Cron 1.1a!
Note: I dropped the revision on this version back to 1.1a, in order to make it easier for me to manage version numbers at the WordPress Plugin repository.

Follow developments of WP-Cron here!

 1

About

Brewer philosopher.

User