- 论坛徽章:
- 0
|
[root@isoft crontabs]# ls
adm lp root sys uucp
[root@isoft crontabs]# pwd
/var/spool/cron/crontabs
[root@isoft crontabs]# cat root
#ident "@(#)root 1.19 98/07/06 SMI" /* SVr4.0 1.1.3.1 */
#
# The root crontab should be used to perform accounting data collection.
#
# The rtc command is run to adjust the real time clock if and when
# daylight savings time changes.
#
10 3 * * 0,4 /etc/cron.d/logchecker
10 3 * * 0 /usr/lib/newsyslog
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
1 2 * * * [ -x /usr/sbin/rtc ] && /usr/sbin/rtc -c >; /dev/null 2>;&1
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean
33 3 * * 0 /SVFJP/report/pdf/RmPdf
===================================
最后一行是我添加的。每天 03:33 执行 /SVFJP/report/pdf/RmPdf 。但是好像没有执行。是不是需要重新启动 crontab, and how?
另外,RmPdf 脚本中,有 echo 语句,请问怎么才能查看到 echo 语句?
thanks |
|