Question on CRON scheduling.
-
I need to schedule a function to execute every hour and I was led to this function
wp_schedule_event
however in the codex it says this
The action will trigger when someone visits your WordPress site, if the scheduled time has passed
So this means that the function will only trigger when someone visits my site after an hour has passed?
I want my cron job to execute on the hour no matter if someone visits or if someone logs into the admin cp.
How can this be done?
Thanks
- The topic ‘Question on CRON scheduling.’ is closed to new replies.