It'd be great if we could have cron on by default: service cron start
And set a default crontab and user: crontab -u {root} -e
with a default crontab: */5 * * * * /usr/local/bin/php /var/www/html/path/to/cron.php | grep -v "Ran jobs by schedule" >> /var/www/html/path/to/cron.log
That cron is just a suggestion, tried to make it generic, but you might want to comment it out in the default crontab.
It'd be great if we could have cron on by default:
service cron start
And set a default crontab and user:crontab -u {root} -e
with a default crontab:*/5 * * * * /usr/local/bin/php /var/www/html/path/to/cron.php | grep -v "Ran jobs by schedule" >> /var/www/html/path/to/cron.log
That cron is just a suggestion, tried to make it generic, but you might want to comment it out in the default crontab.
THANKS! 😸