Results 1 to 3 of 3

Thread: Automatic Housekeeping?

  1. #1
    Join Date
    May 2005

    Automatic Housekeeping?

    I have a db driven website on which I will need to run regular housekeeping tasks ie regularly email customers to remind them of their subscription status, when they need to pay again etc.

    I could just write a housekeeping.asp page and run it every day to let it do its thing, but what if I'm not in the office every day?

    We have a server that's on 24/7, and I could have a browser window open with the housekeeping.asp page on it, which could automatically refresh every x hours... but if anyone logs the Administrator off the server the browser window would no longer refresh and would cease to run the housekeeping tasks.

    The most reliable way I can think of is to make the housekeeping tasks be triggered by visitors to the website, ie keep an Application variable with the last date/time the housekeeping was carried out, and if its due, run it.

    The problem is whoever the unlucky visitor is would be penalised with some sort of delay. How much of a delay is there to send (say) 100 emails?

    I can't be the first to want to do something like this, how do other people do it?

  2. #2
    Join Date
    Oct 2005
    I use a .vbs script and windows task manager. I set it up to run with administrator rights. This way even if a limited account is logged in it will run the events.


  3. #3
    Join Date
    May 2005
    Just to confirm, the site isn't hosted on our server, its hosted by a third party company...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center