0 votes
2 views
by
#create crontab job with logging enabled
* * * * * /home/opsfaqs/my-cron-script.sh >/tmp/my-cron-script.log 2>/tmp/my-cron-script.error
# this will log standard output to /tmp/my-cron-script.log
# standard error (errors) to /tmp/my-cron-script.error
...