Initialize WordPress environment to use in a real cron script

You can use real cron to trigger WP cron – by fetching wp-cron.php file from root (snippet from quick google search).

That will take care of environment and everything.

Leave a Comment

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