Click to See Complete Forum and Search --> : How do I automate a task?


jammer20002
01-19-2005, 08:24 PM
I want to be able to put a set of files into a directory.
These files will be a new version of an existing website.

On a specific date, I want to have the website point to the new directory and have the new pages be the new version of the website.

I'm unsure how I can do the automation.
i.e. at midnight, I want to have the website switched over.

Any ideas how I can do this?

Ideally I'd like to use mySQL.
But, will use SQL server if I have to.

I would assume that there would need to be a cron job of some sort?

I'm not sure where to start.

Thanks.


OM

candelbc
01-20-2005, 07:44 AM
You may want to direct that question towards your hosting company to see if they have any options. Between the two hosting companies I have used on a regular basis, one has a pay service for setting up cron type jobs, and one does not have the option..

Since I have experience developing Windows applications, I wrote a simple application to open a web browser window with a specific ASP page. The ASP page just goes through and processes whatever it is I needed and then prints DONE at the end for my program to recognize.

That works best for me, but as I said, you may want to check with your hosting company and see if you have any options..

-Brad