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

Re: Using Cron to Run Script

by scain (Curate)
on Dec 28, 2001 at 21:19 UTC ( [id://134916]=note: print w/replies, xml ) Need Help??


in reply to Using Cron to Run Script

The most common problem I have seen with running cron jobs is one of execution environment. One of two things (or both) is problably wrong: you are assuming you know where the script is being executed, and are using a relative rather than absolute path, or your environment variables are not properly set up, like $PATH. This would include not giving the full path to the script in the crontab entry.

Scott

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-09-09 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.