Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Calling System Service command fails in cronjob

by Anonymous Monk
on Aug 13, 2012 at 21:33 UTC ( [id://987216]=note: print w/replies, xml ) Need Help??


in reply to Calling System Service command fails in cronjob

Usually it is best to specify the =exact path= to a script which sets-up everything that the request needs ... environment variable settings especially. Cron only has to execute the script; the script does everything(!0 else. You also must of course be mindful that cron jobs must execute under the proper user credentials...
  • Comment on Re: Calling System Service command fails in cronjob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-23 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found