Forum Moderators: open
I roughly know how i will code this. However, i would like the could to run automatically, but im not sure how to do this. I don't want to have to manually start the code each day (especially not at weekends).
Is there someway that i can make scripts automatically run say around 2am every morning?
I know i can use use 'if > then' statements on a page if the page has been loaded on the browser, but is there anyway to do it that it doesn't matter if the page is ever loaded - it still send the cards?
All help appreciated,
Cheers,
Webboy
Converting asp to vbs is pretty easy. vbs doesn't support response.write (obviously) and anywhere you do a "Server.CreateObject" replace with just "CreateObject"
That should get things rolling for you.
If I download a csv file, for example, I'll put it on the hard drive. Then I have to take the header out. Then I have to parse out the fields and put them into my database. So I have an email to tell me the file was downloaded. Another one to tell me that the header was successfully removed, and another one to tell me the database update went ok.
So once I finish debugging I don't want the web servers sending four or five emails from a whole bunch of sites every morning to tell all the details. I just want the final one telling me that the database was updated.
This may be a crude approach, but it works for me. If anybody has a better idea, please post it.
The downloads and updates are usually done while I'm asleep. (Either in bed or here at my keyboard). So if I start the app manually, I'll be behind on updates until tomorrow. So I'm thinking about letting my computer request the home page a few minutes before the download each morning.