Hi.
The subject may be a bit odd, but what I want to do is create a cron job that will run every evening on the hour from 7pm till 2am. The job will go out and get a file from our server and check this file against counts that already exist on our current machine. If the file matches the counts then the cron job should stop, else keep going till it gets the correct file. If it makes it through 2am and still has not gotten a file, then send me an email letting me know this. I know this may sound like a lot of stuff, but I was basically wondering if anyone has any idea on how to perhaps setup something like this. I am not sure if there is someway to do this in a loop or something similar. Any help or direction you guys/gals may have would be much appreciated. I have been trying to rack my brain all day on how to do something like this.
Thanks in advance,
Geek8
The subject may be a bit odd, but what I want to do is create a cron job that will run every evening on the hour from 7pm till 2am. The job will go out and get a file from our server and check this file against counts that already exist on our current machine. If the file matches the counts then the cron job should stop, else keep going till it gets the correct file. If it makes it through 2am and still has not gotten a file, then send me an email letting me know this. I know this may sound like a lot of stuff, but I was basically wondering if anyone has any idea on how to perhaps setup something like this. I am not sure if there is someway to do this in a loop or something similar. Any help or direction you guys/gals may have would be much appreciated. I have been trying to rack my brain all day on how to do something like this.
Thanks in advance,
Geek8