I Set a Cron Job but Nothing Works

Right I got the question wrong:

  1. Add the following line to the wp-config.php file:

define('DISABLE_WP_CRON', true);

  1. Set up a real cron job that runs at fixed intervals regardless of site traffic:

cd /home/mywordpresswebsite.net/public_html; /usr/local/bin/php -q wp-cron.php

In your case: wget -q -O - 'https://artpropromosyon.com/wp-content/plugins/entsidebyside/trigger.php' >/dev/null 2>&1

Check for the cronjob errors grep “trigger.php” /var/log/cron
OR setup the cronjob as:
wget -q -O - 'https://artpropromosyon.com/wp-content/plugins/entsidebyside/trigger.php' >> /var/log/entsidebysidejob.log 2>&1
OR grep CRON /var/log/syslog
OR journalctl | grep cron

1 Like