October 23, 2020, 12:30:52 am
News: If someone gives you assistance give them a Good Star
Pages: [1]   Go Down
Author Topic: Running a script on a schedule  (Read 2334 times)
simmo
Administrator
*

Stars: +3/-0
Offline Offline

Gender: Male
Posts: 8558



« on: March 04, 2010, 08:43:03 pm »

I know a unix server could use a chron job, but before I set up a server just for this one item I want to see if there are other options.

I need to run an asp (classic) page once a day (midnight).

In the past, i just hid an iframe on the front page of a site and inside of that ran a page that checked to see if the script ran... if the script ran in the past 24hrs it did nothing, if it needed to run, it would run.

But... in this instance, the script is a long one and i would rather the user not see the page "loading" the whole time, or for them to navigate away from the page before it finishes.

Any ideas?
Logged

                 ..... .....

Jason Reed
Administrator
*

Stars: +4/-0
Offline Offline

Gender: Male
Posts: 4543


Pure Evil Administrator


WWW
« Reply #1 on: March 05, 2010, 05:53:39 am »

http://www.cronjobs.org/

External site that performs the CronJob for you, check it out.
Logged

-- signature --

simmo
Administrator
*

Stars: +3/-0
Offline Offline

Gender: Male
Posts: 8558



« Reply #2 on: March 05, 2010, 03:30:55 pm »

Damnit! They stole my idea before I had it  crash After I made that post I thought of setting up a service like that  laugh1

I'll give them a go  beerchug
Logged

                 ..... .....

Jason Reed
Administrator
*

Stars: +4/-0
Offline Offline

Gender: Male
Posts: 4543


Pure Evil Administrator


WWW
« Reply #3 on: March 05, 2010, 07:38:03 pm »

Oh there's a couple of services out there. This is just the one that speaks English Wink
Logged

-- signature --

simmo
Administrator
*

Stars: +3/-0
Offline Offline

Gender: Male
Posts: 8558



« Reply #4 on: March 05, 2010, 09:13:01 pm »

Hmm, they do charge too  mf_Dr_Evil granted the sample i set up (no idea how many "octets" i need downloaded so I set at 10) would cost me .02 euro (another flaw was no way to change my currency to see how much that is to me Another Tounge ) but even .02 USD is too much when I do have an array of unix servers at my disposal Another Tounge
Time to set up a unix acct and learn about chron jobs  crash, maybe I'll set up a similar service and make it ad based or something later
Logged

                 ..... .....

Pages: [1]   Go Up
Print
 
Jump to: