Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: run a perl script automatically every 24 hours

by Anonymous Monk
on May 24, 2009 at 07:02 UTC ( #765890=note: print w/ replies, xml ) Need Help??


in reply to Re: run a perl script automatically every 24 hours
in thread run a perl script automatically every 24 hours

thanks for the input.Is there anyway to run the script itself automatically every 24 hours i mean not using task scheduler (i am on windows)


Comment on Re^2: run a perl script automatically every 24 hours
Re^3: run a perl script automatically every 24 hours
by McDarren (Abbot) on May 24, 2009 at 07:21 UTC
    Why wouldn't you use the Task Scheduler?

    You could always do something like:

    while (1) { # your script goes here. sleep 86400; }
    But that would be a bit silly.
    Use the Task Scheduler - that's what it is for.

    Or, you could look at Cron for Windows.
    Or maybe CronW, which appears to be a Perl implementation of the same.

    Dude - spend 1 minute Googling. It doesn't bite ;)

      thanks for the reply.I took your advice to the task scheduler again thanks for your help McDarren

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://765890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2014-07-30 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (239 votes), past polls