So, I need to run a operate on my plugin from crontab. For the instance, I need to run it day-after-day at 1:10am
operate my_cronjob_action () {
//this operate is in my plugin
// code to execute on cron run
syslog(LOG_DEBUG, 'executed by unix cron');
} add_action('my_cronjob_action', 'my_cronjob_action');
I’ve disabled wp-cron by including outline( 'DISABLE_WP_CRON', true );
into wp-config.php
what is the subsequent step so the operate could be executed from crontab?
Thanks earlier than.