From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078612210489.tru64-unix-managers.marc@archive.invalid> From: Julio.Del-Rio () kellogg ! com (Julio Del-Rio) Date: Tue, 20 May 1997 15:10:43 +0000 To: tru64-unix-managers Subject: su conflict with cron X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078612210489 Guys: I have this cron file that needs to make a "su" with the -c option, but every time I run it from the cron, it just skips the line. Does anybody knows how can I make this run? The cron looks like this: 35 1 * * * /usr/user/crons/cold_backup.sh And the cold_backup.sh file looks like this: __________________________________ eval /usr/bin/su - oracle -c "/usr/user/crons/fullexp.sh.tst" eval /usr/user/crons/dump.sh if test $? -eq 0; then /sbin/sync; /sbin/shutdown -r +10 > /dev/null else /usr/bin/mail backup < /u001/users/backup/crons/backerr.msg fi mt offline __________________________________ The problem is that the first line is never executed. The script has the permissions needed and belongs to the appropiate owner&group The OS is an DEC OSF/1 V3.0B Thank you in advance..... Julio Francisco del Rio Martin del Campo The Kellogg Co.