Cron jobs Useful commands

  • by

Watch recent cron jobs run:

sudo tail -f /var/log/cron

Check the cron jobs running per user in:

ps aux | grep crond

update current users crontab:

crontab -e

update system crontab:

 sudo nano /etc/crontab

Add to the end of cron job to rpevent email sending

>/dev/null 2>&1

Leave a Reply

Your email address will not be published. Required fields are marked *