On 15 Apr, Anand Kumria wrote: > and running the program with the full path should work. If that is the case > make sure /usr/bin is on their PATH.
My crontabs start like this to make the crontab lines shorter: SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ Note that cron does not perform shell variable expansion; it just uses the above kind of lines to modify its environment. I.e. this would *not* work: LOCAL=/usr/local PATH=/sbin:/bin:/usr/sbin:/usr/bin:$LOCAL/bin:$LOCAL/script since $LOCAL would not be expanded. luke -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
