[wp-hackers] Pseudo-Cron

Jennifer Hodgdon yahgrp at poplarware.com
Sat Sep 22 01:04:50 GMT 2007

Otto wrote:
> Okay, I see what I was missing now.
> wp_reschedule_event is used by wp-cron.php. When a recurring event is
> scheduled, it calls this function to schedule the next recurring
> event.
> This means that for any recurring event, only the next recurrance of
> it is actually scheduled. When the event finally gets around to
> running, wp-cron reschedules it by creating a new event in the future,
> then it unschedules the existing event, then it runs the hook.

Ah. Much clearer.

> This also means that calling wp_unschedule_event on a recurring one
> unschedules the whole event, recurrances and all.

So why have two functions to unschedule -- unschedule and clear, if 
they do the same thing?


Jennifer Hodgdon

Poplar ProductivityWare * www.poplarware.com
Web Databases/Scripts * Modeling/Analysis/Palm OS Software

More information about the wp-hackers mailing list