How to set default ENVIRONMENT for programs runned from cron?

James J J Hooper jjj.hooper at bristol.ac.uk
Wed Jan 20 22:26:16 CET 2010


On 20/01/2010 21:08, Коньков Евгений wrote:
>
> Hi
>
> If program runned from cron run another process like:
>    curl or wget or anithign else located at PATH
>
> it says: can not find curl etc.
>
> NOTICE: when programm is runned from cron there is no PATH environment
> variable
>
>
> Does any know how to pass environment for programs runned from cron?

Hi,

This being the FreeRADIUS list, your question should probably be vaguely 
related to FreeRADIUS.

http://www.google.com/search?q=crontab+set+path

-James




More information about the Freeradius-Users mailing list