I have a cron
job that executes a shell script like following
00 01 * * * sh /backup/script.sh
Now I need to add a functionality in cron
so that if this script doesn't exist then it generates an alert to me through email using sendmail
utility.
Something like
00 01 * * * find script and execute script or if find no result then email.