Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Cron or running process?

by freddo411 (Chaplain)
on Apr 28, 2004 at 20:49 UTC ( #348947=note: print w/replies, xml ) Need Help??

in reply to Cron or running process?

Use cron. Cron essentially acts like a running process that fires off things when necessary, (yes, I know that this isn't strictly true...) why reinvent the wheel?

That being said, cron does have a few gotchas:
* Funny things happen when DST kicks in or out (you can search perlmonks for my recent thread on this.)
* Scripts run from cron have a pristine environment, without a normal path env var etc, etc. You must keep this in mind when coding your scripts.

Editing a crontab file to schedule your scripts is not at all difficult. Consult man crontab for details.

Nothing is too wonderful to be true
-- Michael Faraday

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-11-30 17:03 GMT
Find Nodes?
    Voting Booth?