Hi all,
i know that Windows does not support native cron jobs.
but is there any sort of work-around that folks use?
Thanks!
Hi all,
i know that Windows does not support native cron jobs.
but is there any sort of work-around that folks use?
Thanks!
This is on shared/reseller or vps?
On shared, you can setup on a linux account to do cron to a url on a windows server.
On VPS you can use scheduled tasks, but you will need to test and ensure the commands you give in batch file etc work properly.
its a shared - not via reseller, so they would prefer not to have to buy another acc.
i guess my questions is whether anyone has come up with a creative workaround - eg:
i thought of setting up a database with a daily checkbox - each day, the site will check if that days checkbox (representing the task) has been checked, if not, it will run the task and then check the box.
the problem with this, is that i don’t want the check running the entire day
also - what triggers the check? a visitor coming into the site? if so, his visit might be slowed down because he is triggering the task to run.
If you’ve got dynamic pages, maybe you can use something like pseudocron. It’s a script you place on your page, maybe in a footer. That script checks your schedule and if appropriate, kicks off your desired action. Pseudocron is a php script but I’m sure there are ASP scripts that do the same thing.
Tim
interesting, will check it out. thanks