unix - echo statements in a shell script run by cron -


this question has answer here:

i using echo statements in shell script. shell script run cronjob.will output of echo statements automatically logged somewhere ?. if yes,where ?

thank you

usually crond email output user. better off doing (example crontab entry)

* * * * * /path/to/my/script.sh 2&>1 > /tmp/mylogfile.log 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -