[sllug-members]: cron job environment

Stuart Jansen sjansen at buscaluz.org
Fri Aug 4 11:46:09 MDT 2006


On Fri, 2006-08-04 at 11:35 -0600, Charlton Rose wrote:
> 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?

Probably the easiest way is:

5 * * * * bash -l /full/path/to/pathtest.sh

-- 
Stuart Jansen              e-mail/jabber: sjansen at buscaluz.org
                           google talk:   stuart.jansen at gmail.com

"However beautiful the strategy, you should occasionally look at 
the results." -- Winston Churchill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://sllug.org/pipermail/sllug-members/attachments/20060804/868199dd/attachment.pgp


More information about the sllug-members mailing list