Series Archive: Taking control of WP-Cron using WP-Crontrol

WP-Cron is a powerful part of WordPress that mimics the cron system available in *nix systems. It allows commands to be scheduled to be regularly executed. However, the system itself is underdocumented and opaque to both plugin developers and power users alike. The WP-Crontrol plugin aims open up this seedy underworld of scheduled execution and bring it’s inner workings to like. This series will discuss how plugin developers and power users can use WP-Crontrol to take control of the WP-Cron system.

Add a new WordPress backup schedule with WP-Crontrol

This entry is part 1 of 3 in the series Taking control of WP-Cron using WP-Crontrol

Welcome to the first post in a series of posts on how to take control of the WP-Cron system using WP-Crontrol. WP-Cron is a tangle of black magic that allows a plugin developer or a user to schedule commands to be executed. WP-Crontrol is a plugin that lets a blog owner see through that magic and figure out what’s actually going on. In this post, I’ll discuss using WP-Crontrol to add a new cron schedule that can be used by WP Database Backup. This means backups when you want them.

Read the rest of this entry »

Using WordPress Cron and WP-Crontrol to make you post more

This entry is part 2 of 3 in the series Taking control of WP-Cron using WP-Crontrol

The new version of WP-Crontrol allows you to add new cron entries with code. This allows you to write code that will repeatedly be executed without actually touching any .PHP files. Below, I present a way to utilize this functionality to remind you to post something if you haven’t done so in the past two days.

Read the rest of this entry »

Use WP-Crontrol to keep track of Akismet

This entry is part 3 of 3 in the series Taking control of WP-Cron using WP-Crontrol

If you’re using Akismet to tackle spam on WordPress, there are a number of statistics available to you about your current spam situation. These are all available in the Comments page of your blog, but who wants to go there every day to check up on things. By taking control of WordPress Cron with WP-Crontrol and a couple lines of code, you can receive this information sent by mail every day.

Read the rest of this entry »