Solved

Automated ASP script *Urgent*

Posted on 2004-04-27
7
177 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
  • 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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…
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

821 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