Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ls /var/log/cron*
- ls: cannot access /var/log/cron*: No such file or directory
- # cron.* /var/log/cron.log
- journalctl _COMM=cron
- journalctl _COMM=cron --since="date" --until="date"
- # Mail any output to myuser@gmail.com, no matter whose crontab this is
- MAILTO=myuser@gmail.com
- # Run the following command ten minutes after midnight, every day
- 10 0 * * * $HOME/bin/aJob.sh
- # Run the following command ten minutes after midnight, every day
- 10 0 * * * $HOME/bin/aJob.sh >> /tmp/aJob.log 2>&1
- # Mail any output to myuser@gmail.com, no matter whose crontab this is
- MAILTO=myuser@gmail.com
- # Run the following command ten minutes after midnight, every day
- 10 0 * * * $HOME/bin/aJob.sh >> /tmp/aJob.log
Add Comment
Please, Sign In to add comment