WP_cron keeps going back to the past

For future reference if someone else has the same problem. Found out that the high availability of the database cluster was causing this. For some weird reason another server was sending old data back to the mysql server on which this wordpress site is connected at the moment. The strange thing is that it was … Read more

WP-Cron called by separate server

Might be your production server still uses the site url of the dev server? Check your production database for dev url’s. In any case, use the WP_SITEURL and WP_HOME defines

Strange cron job behavior and how to solve it?

Cron jobs in the past are cron jobs that have not had the opportunity to run yet. Very Few Visitors Unless you system has a system level cron that is configured to trigger WP Cron at predictable intervals you won’t be able to use WP Cron for precise timekeeping. This is because WP Cron will … Read more

Time limit on long cron job?

Further research has resulted in mixed information and no clear solution. Our solution is to use a separate file and execute the script using CRON via the command-line, rather than relying on the WordPress cron system. This has the added bonus of max_execution_time=0 as well. PHP Max execution time Stripe’s API seems to take about … Read more

WP Cron scheduling doesn’t work reliably on hosted server

Most hosts modify how the default cron works and I’ve specifically had issues with GoDaddy managed hosting as they 100% take control and you can’t do anything about it. If it works locally, I would contact the hosting company and ask about how crons are setup to run. If its Managed GoDaddy there isn’t anything … Read more

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