Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Perl script using cron

by ssandv (Hermit)
on Mar 16, 2010 at 17:40 UTC ( [id://828986]=note: print w/replies, xml ) Need Help??


in reply to Perl script using cron

You might also look at at depending on what your use case is. at inherits almost all of its invoker's environment, while cron gets pretty near none of it, which can lead to some frustration. In any event, the code on the end of your post is entirely superfluous, and as others have said, how to get cron working isn't a Perl issue at all. Cron pays no attention whatsoever to details of the commands you give it, it just runs them at the specified time in a clean environment. If it's an executable and properly constructed, it will execute. If it's not, it won't. Also of course, the standard advice for stuff like this--try it and see what happens.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-25 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found