in reply to Run if weekend
Hi Everyone! Thanks for your replies!
Sorry i should have clarified further, I have my server monitoring checking for an update to a file using a deamon. There is a perl script that will check the file and then pass on the amount of updates that has occured and email us. The main issue is that it is only required for the weekend as we are in the office to manually see the update come through during the week.
So i'm trying to find a method that will check the day if its a weekday exit out of the script, if it's the weekend continue with the rest of the code to check the updates to the file.
Thanks! hopefully it makes a bit more sense now!
|