On 09:04 30 Oct 2003, diego.veiga@xxxxxxxxxxxxxx <diego.veiga@xxxxxxxxxxxxxx> wrote: | 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 Are you sure you've posted the complete crontab? Anyway, if all the commands are separate scripts and each script starts with: #!/bin/bash then the Right Thing should happen anyway. I do wonder what you're doing that needs bash though... -- Cameron Simpson <cs@xxxxxxxxxx> DoD#743 http://www.cskk.ezoshosting.com/cs/ The Fano Factor, where theory meets reality. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list