Cron job only fires if pages are visited – why?
-
I developed a plugin that upon activation (register_activation_hook()) creates a cron job. This cron job is suppose to trigger once a day. After activation of the plugin I can see the cron job to be scheduled for the “next run” at the desired time and the counter is counting down. Unfortunately, the cron job only triggers if a user is browsing to at least one page on my site.
My question: Is there a way to make a cron job fire, even if no users accessing/browsing the site?
Help is much appreciated as I can’t seem to find any references online.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Cron job only fires if pages are visited – why?’ is closed to new replies.