Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Schedule an asp page

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,1684
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Schedule an asp page
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Schedule an asp page - 12/10/2004 11:34:13 AM   
  lstomooka

 

Posts: 1
Score: 0
Joined: 12/10/2004
From: USA
Status: offline
I want to run an asp page automatically just after midnight on the first of every month. It has no output, just does some database work. This is for an internal company web. I tried using Task Scheduler on a workstation to run iexplore.exe with the url, and it sort of worked, but it doesn't close IE after running, so it takes some user intervention. Does anyone know how to run a scheduled asp page on the IIS server (ver. 6, Windows Server 2003)? Thanks in advance.

_____________________________

Lee.
 
 
Post #: 1
 
 Re: Schedule an asp page - 12/31/2004 2:24:15 AM   
  hojjat

 

Posts: 13
Score: 0
Joined: 12/30/2004
From:
Status: offline
Well, if you do that DB modificatin with ASP, then the problem of IE windows which remain open is a big deal... Instead, I recommend you to use a VBS file. You see, you can do the same thing with nearly same VBS code (you know ASP is derived from VBS itself) and the benefit is that the VBS file is automatically closed when it is finished!
Post me the ASP code, I'll give you the VBS equivallent.

Happy 2005

(in reply to lstomooka)
 
 
Post #: 2
 
 Re: Schedule an asp page - 3/3/2005 12:01:05 AM   
  VBS

 

Posts: 110
Score: 0
Joined: 3/2/2005
From: Lebanon
Status: offline
Dear lstomooka,
hojjat has a nice idea, but if u don't want to use vbs files then why don't u add a close the window using javascript...

as an example javascript:window.close

(in reply to lstomooka)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Schedule an asp page Page: [1]
Jump to:





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