[wp-hackers] WordPress 2.1 Cron Examples
if.website at gmail.com
Sun Jan 21 22:49:17 GMT 2007
On 1/21/07, Lester Chan <gamerz84 at hotmail.com> wrote:
> Hi Guys,
> I intending to use the inbuilt cron feature of wordpress 2.1 but i can't find any examples of it.
> I tried the following code, but it will not work. Any ideas?
Could the problem be that you're scheduling the first event to be
right now (using time() ), instead of in the future? It may be that
by the time the event gets scheduled, it's already in the past, so you
would need to wait an hour for the next interval to occur.
More information about the wp-hackers