Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Calling System Service command fails in cronjobby Anonymous Monk |
on Aug 13, 2012 at 21:33 UTC ( [id://987216]=note: print w/replies, xml ) | Need Help?? |
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...
In Section
Seekers of Perl Wisdom
|
|