I got a crontab running every night 2 in the morn'

0 2 * * * sudo sh /net/vmits0356/disc1/misc/dupdate.sh >> /net/vmits0356/disc1/misc/dupdate.log

I cannot seem to find how to append time to each line it writes into the log. The log works fine, but I'd like to have every line with a timestamp. Is that possible?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.