Quote:
quote:Originally posted by madhukp
When I had a similar situation, I did it in this way.
The client was having a dedicated server.
I requested them to open a page in a browser always in any machine (if possible on server itself).
That page used meta refresh which will make it reload every one hour.
I checked in that page whether the task is done for current hour. If no, I will do it and record the time in a log file.
This is working without any problem for the past 2 years.
|
Oh my gosh.
If all you have is a hammer all problems start to look like nails, rigth?
This is very awkward solution and let me tell you something, if a consultant (or whatever you want to call the person) suggested something like this I would know I need to find another.
Even if you do stick to VBScript you can do much better.
Do rewrite the "program" so that it works from within Windows Scripting Host (wscript/cscript, see microsoft.com) and have it scheduled at the rigth time each day.