I would like to add a time stamp to a ftp.log file every time I send a file. I'm using a cron job to send the file every 5 minutes using the following:
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /home/pi/imagesend_scr1 >> /home/pi/ftp.log 2>&1
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /home/pi/imagesend_scr1 >> /dev/null 2>&1
Is there a simple (elegant?) way to do this?
THANKS ALL!!!