Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl as a service

Status
Not open for further replies.

bneese

Technical User
Nov 16, 2003
20
US
I have a Perl script that I would like to install as a Windows service and have it run every x minutes. I know this can be done with PerlSvc. Could someone give me a little sample script on how I should accomplish this?
 
Try this


if this is not what you want then

you just have to put it either in the Task Scheduler

or just use this

while(1){

sleep X; #where X are the seconds that the program will stop for and strat again

...here place your script...

}

very slimple isn't it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top