change shell type in crontab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






Hi all,

I would like to change the shell to execute the crontab (all the programs
to execute are bash).

the file /etc/crontab is:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/ ...

But i´m receiving email with the crontab variable:

X-Cron-Env: <LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Status: RO

/bin/sh: changed: command not found


Diego Brito Veiga
Technical Publications
Phone: +55 (12) 39278368
Fax: +55 (12) 39273342


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux