- 论坛徽章:
- 0
|
我又重新做了一次crontab,过程如下:\r\nroot创建一个文本test.cron存于/目录下,\r\n#chmod a+w test.cron\r\n#su - oracle\r\nbash-2.05$vi test.cron\r\n00 14 * * * /export/home/oracle/sys_exp.sh\r\n10 14 * * * /export/home/oracle/sys_imp.sh\r\n~\r\n~\r\n~\r\n\"test.cron\" 2 lines, 86 characters\r\nbash-2.05$ crontab test.cron\r\nbash-2.05$ crontab -l\r\n00 14 * * * /export/home/oracle/sys_exp.sh\r\n10 14 * * * /export/home/oracle/sys_imp.sh\r\n\r\n到点,查看/var/cron/log,仍然报bad user:\r\n! *** cron started *** pid = 185 Wed Dec 6 11:50:01 2006\r\n> CMD: /export/home/oracle/sys_exp.sh\r\n> oracle 658 c Wed Dec 6 14:00:00 2006\r\n! bad user (oracle) Wed Dec 6 14:00:00 2006\r\n< oracle 658 c Wed Dec 6 14:00:00 2006 rc=1\r\n! bad user (oracle) Wed Dec 6 14:10:00 2006\r\n> CMD: /export/home/oracle/sys_imp.sh\r\n> oracle 662 c Wed Dec 6 14:10:00 2006\r\n< oracle 662 c Wed Dec 6 14:10:00 2006 rc=1\r\n\r\n为什总是报bad user呢?到底是哪儿不对呢?怎么样解决啊?头都大了... |
|