On Sep 02 14:18 +0200, Steve S  wrote:
> 2) define env vars in the crontab
> 
> It works if I define the env vars as a full path
> 
>     $SOME_VAR=/full/path/1
>     $SOME_OTHER_VAR=/full/path/2
>     10 12 * * */2   su -p - johndoe -c /home/johndoe/foo.sh

Ups, that must read

     SOME_VAR=/full/path/1
     SOME_OTHER_VAR=/full/path/2
     10 12 * * */2   /home/johndoe/foo.sh

best,
steve


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to