[wp-hackers] Pseudo-Cron

Matt speedboxer at gmail.com
Sat Sep 22 19:28:56 GMT 2007


On 9/22/07, Omry Yadan <omry at yadan.net> wrote:
>
> without know ANYTHING about the API, I am guessing that you need to use
> wp_unschedule_event, and that
>
> wp_clear_scheduled_hook is used internally to notify listeners of
> unschedule events.
>
I tried it out by checking if wp_next_scheduled_event was the cron. It turns
out that you should you wp_clear_scheduled_hook if you want to completely
get rid of a recursive cron. I think wp_unschedule_event just unschedules
the next time it's supposed to run, but it will continue to run after that
one that's been "skipped".


-- 
Matt (speedboxer at gmail.com)
http://mattsblog.ca/ | http://livemp.net/


More information about the wp-hackers mailing list