navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Time of Day server side .asp file

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Time of Day server side .asp file
Page: [1]
 
bernieboy31

 

Posts: 79
Joined: 3/5/2005
From: London, United Kingdom
Status: offline

 
Time of Day server side .asp file - 3/15/2008 6:22:58   
Gurus,

Anyone point me at a way of running a .asp file on my web server at a particular time of day to do some odds & sods of housekeeping routines?

TIA
Cheers
Bernie
rdouglass

 

Posts: 9167
From: Biddeford, ME USA
Status: offline

 
RE: Time of Day server side .asp file - 3/15/2008 11:16:53   
If you have access to the server console, an Automated Task works well often. If not, what kind of DB are you running? SQL server has timed triggers.

Unfortunately ASP (and HTML for that matter) are 'stateless' in the sense that you can't easily tell them to do something at a specific time. They are re-active and not active.

Having said that, maybe you can give more particulars. If the scripts are not too heavy-duty, I've frequently just set a date field in a database and ran my 'housekeeping' scripts upon first use of a page each day.

If you have something that must run every day and/or must run at a specific time, that is usually unacceptable. Tell us more and we may be able to help.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to bernieboy31)
bernieboy31

 

Posts: 79
Joined: 3/5/2005
From: London, United Kingdom
Status: offline

 
RE: Time of Day server side .asp file - 3/17/2008 23:50:28   

quote:

ORIGINAL: rdouglass

If the scripts are not too heavy-duty, I've frequently just set a date field in a database and ran my 'housekeeping' scripts upon first use of a page each day.


DOH! That's a magic idea - I should have thought of that :)

I already have the dates the routines should run in a db and they take no time to complete.

problem solved :)

Thanks Roger !
Cheers
Bernie

(in reply to rdouglass)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Time of Day server side .asp file
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts