I’m trying to write a WordPress plug-in that automatically posts a blog post at a certain time of day. For example, read a bunch of RSS feeds and post a daily digest of all new entries.
There are plug-ins that do something similar to what I want, but many of them rely on a cron job for the automated scheduling. I’ll do that if I have to, but I was hoping there was a better way. Getting a typical WordPress user to add a cron job isn’t exactly friendly.
Is there a good way to schedule a task that runs from a WordPress plug-in? It doesn’t have to run at exactly the right time.
http://codex.wordpress.org/Function_Reference/wp_schedule_event