I've recently setup civicrm as a plugin on my wordpress site, and I can't seem to shake the 'Cron Not Running' Warning.
Does the job.execute
cron job need to be running in order to run all other scheduled jobs?
I'm on a digital ocean ubuntu server, and each time i run
sudo -u www-data -- /usr/local/bin/wp --user=cronuser --
url=https://mysite.org --path=/var/www/html civicrm api job.execute
auth=0
it will run the scheduled tasks, and the system warning will go away(for an hour or so) but this is kind of a 1-off behavior, and it doesn't continue to run any tasks that have already been set up. Eventually, the warning comes back.
Do I need to do something like
crontab -e
and then:
* * * * * sudo -u www-data -- /usr/local/bin/wp --user=cronuser --
url=https://mysite.org --path=/var/www/html civicrm api job.execute
auth=0
I'm new to linux administration and I don't want to mess anything up by "guessing" what will work.