Cron
- edit cron jobs:
crontab -e
- list cron jobs:
crontab -l
Debugging cron jobs
Log the output of the script to a file.
* * * * * /home/fabian/.local/bin/my-script.sh &>>/tmp/cron_debug_log.log
crontab -e
crontab -l
Log the output of the script to a file.
* * * * * /home/fabian/.local/bin/my-script.sh &>>/tmp/cron_debug_log.log