I tested that ‘trigger.php’ fiile on other hosting which uses Cpanel and applied some cron jobs on it. It works properly. The file contains some kind of wordpress core functions such as ‘update_post_meta(), set_object_terms()’ and I don’t think there is any programmatical mistake.
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
I appreciated a lot for your help. After I added ‘define(‘DISABLE_WP_CRON’, true);’ , I defined new cron job using ‘curl’ method this time. So, the whole command I typed is curl https://artpropromosyon.com/wp-content/plugins/entsidebyside/trigger.php > /dev/null 2>&1 . I added this cron job on CyberPanel with hour-min configs and it is working properly currently.
I’ll observe it for the next few times of course. But for now, the problem is solved! Thanks again.