During the last few releases the cronjob which gets installed in /etc/cron.d/awsagent-update contains the following:
rm /var/log/awsagent-update.log
On startup with a new instance this gives us the following error message in a mail from cron:
rm: cannot remove '/var/log/awsagent-update.log': No such file or directory
Can the command be changed to rm -f .. so it no longer errors on the missing file?
During the last few releases the cronjob which gets installed in /etc/cron.d/awsagent-update contains the following:
rm /var/log/awsagent-update.log
On startup with a new instance this gives us the following error message in a mail from cron:
rm: cannot remove '/var/log/awsagent-update.log': No such file or directory
Can the command be changed to
rm -f ..
so it no longer errors on the missing file?