[sllug-members]: cron job environment
Shaun Kruger
shaun.kruger at gmail.com
Fri Aug 4 12:21:39 MDT 2006
> Probably the easiest way is:
>
> 5 * * * * bash -l /full/path/to/pathtest.sh
>From the crontab(5) man page:
An active line in a crontab will be either an environment setting or
a cron command. An environment setting is of the form,
name = value
You should be able to just say PATH = $PATH;<additional path info> in
your crontab file and have it work.
Shaun
--
Visit my blog at http://hackerlog.blogspot.com
=====================================================
If more of us valued food and cheer and song above hoarded gold, it would
be a merrier world.
-- J.R.R. Tolkien
More information about the sllug-members
mailing list