I've accidentally deleted my cron using crontab - command and now the file under /var/spool/cron/crontabs directory got deleted.I would love to have a script which mails whenever my files under /var/spool/cron/crontabs got deleted. I'm using ksh shell.
How to receive a mail whenever a file gets deleted?
scripting;ksh