Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: run a perl script automatically every 24 hours

by McDarren (Abbot)
on May 24, 2009 at 06:01 UTC ( #765886=note: print w/replies, xml ) Need Help??


in reply to run a perl script automatically every 24 hours

On a Linux system, you want man 5 crontab
On a Windows sytem, you want the Task Scheduler (which is available via the Control Panel, I believe).

Cheers,
Darren

Replies are listed 'Best First'.
Re^2: run a perl script automatically every 24 hours
by Anonymous Monk on May 24, 2009 at 07:03 UTC
    or help at
      i did not get your point
        at - a task scheduler for Linux systems.
Re^2: run a perl script automatically every 24 hours
by Anonymous Monk on May 24, 2009 at 07:02 UTC
    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)
      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://765886]
help
Chatterbox?
[GotToBTru]: Like most Swiss Army Knives, you can cut yourself trying to find the blade you actually want
[GotToBTru]: i am satisfied with the default settings turning the seemingly random formatting into something reliable
[Corion]: GotToBTru: Yeah, I started a quick(ly implemented but slowly running) implementation of a program that would guess the "best" configuration (that is, least amount of changes) from my code, but then found that it stops parsing the source as soon as it ..
[GotToBTru]: sadly, it can't do anything about this
[Corion]: ... encounters sub foo($bar,$baz) {, which is something I like nowadays
[Corion]: GotToBTru: Yeah, that stuff is hard to do away automatically ;)
[GotToBTru]: yeah, you mentioned it could not handle signatures

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2017-02-27 14:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (387 votes). Check out past polls.