I have this cron in my crontab
00 01 * * * /srv/python/proj/acquisizione/acquisizioneAOK.sh >> /home/crontab_logs/acquisizioneAOK.out 2>&1; mailx -s "Cron output: acquisizioneAOK" firstname.lastname@example.org < /home/crontab_logs/acquisizioneAOK.out
which writes the stdoutput to a file
.out and then sends me an e-mail with that file as text.
How can I just empty the file from previous output?
I just want an e-mail with the stdoutput of the last cron execution.