3 views
by
#create crontab job with logging enabled
* * * * * /home/askdevops/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
Welcome to Ask DevOps!
You can find quick one line answers to popular DevOps, Amazon AWS, Microsoft Azure, Google cloud services, tools & basic to advanced Linux questions!
DevOps Tools list
.. 
...