wp cron is not running my function
-
Hello there!
What I’m trying to achieve is to run a function every five minutes with a cron job. I’ve followed the docs about wp cron here. Everything seems to be all right, my recently created hook is on the list of cron jobs, but the thing is that my function never executes and I don’t know how to debug why is it happening.
When the function is attached to some other hook like
save_post
, it does executes and the expected result is achieved, so I think I can discard any errors in my function.Please, any advice on how to debug this will be appreciated.
Thanks in advance!
- The topic ‘wp cron is not running my function’ is closed to new replies.