bryanlittlefield / TUGBOAT

The straight to code approach for dev environments
GNU General Public License v3.0
6 stars 5 forks source link

CRON -- Needs to be ON by default with crontab user #54

Closed chasecbw closed 6 years ago

chasecbw commented 6 years ago

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! 😸