Cronjob not working as expected – issue with hook?

Unfortunately the WordPress cron jobs are only triggered when your site is visited (see Codex):

The action will trigger when someone visits your WordPress site, if the scheduled time has passed.

I believe this to get around the fact that many on shared hosting aren’t normally allowed to set up cron jobs (at least, not without contacting their host first).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)