Solved

Automated ASP script *Urgent*

Posted on 2004-04-27
7
178 Views
Last Modified: 2010-04-13
Maybe a dumb question... and maybe in the wrong forum.

I've got an ASP script I've written ... and I need it to run about every 1 or 5 minutes.  Is the only way to do this a scheduled task to open a specified file?  Or is there a fancier way to run this without doing that?

Thanks so much.
0
Comment
Question by:BeamerCola
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 16

Accepted Solution

by:
JamesDS earned 500 total points
ID: 10937442
BeamerCola

If you want it free then yes, use control panel\scheduled tasks or look at the AT.EXE command (does the same thing)

If the ASP script runs on a web server, then you could add a META REDIRECT page header to the top of it and have it call itself after 5 minutes - which would do the same thing.


Cheers

JamesDS
0
 

Author Comment

by:BeamerCola
ID: 10940171
What are my paid options?  And how much?

Thanks so much
Beamer
0
 
LVL 16

Expert Comment

by:JamesDS
ID: 10941854
BeamerCola
There are a number of scheduling options. You can look at specific dedicated schedulers, but these are largely the same as the AT command system and are cheap. You can run scripts using monitoring tools, such as Microsoft Operations Manager and BMC patrol - very expensive and overkill for most smaller installations.


Cheers

JamesDS
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:BeamerCola
ID: 10942425
Is it possible to build like a Service or something that does it for me?  I guess what I'm trying to steer away from is having this on the web, and then just opening the browser window to run it.  I'd like for the server to actually run it itself outside of IIS .... if that's even possible.
0
 
LVL 16

Expert Comment

by:JamesDS
ID: 10946949
BeamerCola
If its an ASP script then it requires a web server by definition - "Active Server Page".

If its a bit of VB with an ASP/HTML wrapper then it can be converted and run as a VBScript using cscript.EXE or wscript.exe

My advice is convert it to a bit of pure VBScript/JScript and run it using the Task Scheduler service - it will then run in the same way as a service would - almost.

If you want it to be a pure service you will need to look at SRVANY.EXE and SC.EXE from the resource kit. But even if you turn it into a service it will still need converting to pure VBScript/JScript and it will still ned scheduling so you haven't really solved your problem.

Cheers

JamesDS
0
 

Author Comment

by:BeamerCola
ID: 10950663
Alright I'll just go ahead and use it through IIS.  I appreciate all your help.

Beamer
0
 
LVL 16

Expert Comment

by:JamesDS
ID: 10950914
BeamerCola
Welcome, glad to help

Cheers

JamesDS
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question