Crons not working
-
Hi,
I am trying to get wordpress to call a function called “wpr_cronjob” every hour in my plugin. So I registered a activation hook and in the book I call the following function:
wp_schedule_event(time(), ‘hourly’, ‘wpr_cronjob’);
The function is not getting called because every time the function is called, I will receive an email (which I am not). I have set up a cronjob on my linux server to run wp-cron.php every 5 minutes and the function is still not getting called. Could you please tell me what I am doing wrong?
Thanks in advacne,
Raj
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Crons not working’ is closed to new replies.