[sllug-members]: cron job environment
Charlton Rose
sharky at sharkysoft.com
Fri Aug 4 11:35:27 MDT 2006
I have the following shell script:
_pathtest.sh_
#!/bin/sh
echo $PATH > out
When I sign in and run this script manually from a shell, I get the path
I want. However, when I let this script run as a cron job for the same
user, I get something totally different.
Do you know how to configure a user's cron job so that it executes with
the same path that the user would have in a shell after sign-in?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sllug.org/pipermail/sllug-members/attachments/20060804/32ae362d/attachment.html
More information about the sllug-members
mailing list