Quote:
Originally Posted by ajdin
So does anyone have idea how to check creation date of directory /backup/weekly/*/accounts and compare to current date (date that script start to copy to remote server) and send email if directory is created and backup is copy or send email that backup isn't created.
|
oh yes, many ideas.
if i was you i'd write a shell script utilizing the
find command with it's various time related switches.
also sending email via command line isn't exactly rocket science.
so, search the web, look at what others made, then write your script.
you will get help here, but not before you show some effort.
and let's say it again, this isn't exactly rocket science and if you're responsible for server backups this shouldn't be hard for you at all.