互联网服务AIXcrontab定时任务

aix crontab 定时任务问题

第一次我是提交成功,并且也执行了命令,然后我crontab -r 删除任务之后,下面的命令就提交不了。# ls -ltotal 16-rwxrwxrwx    1 root     system           30 Apr 25 18:49 aa-rwxrwxrwx  &nb...显示全部
第一次我是提交成功,并且也执行了命令,然后我crontab -r 删除任务之后,下面的命令就提交不了。
# ls -l
total 16
-rwxrwxrwx    1 root     system           30 Apr 25 18:49 aa
-rwxrwxrwx    1 root     system           33 Apr 25 18:50 nmon.sh
# more aa
19 45 * * * /tmp/perf/nmon.sh
# more nmon.sh
cd /tmp/perf
nmon -f -s 10 -c 30
# crontab aa
A line of the crontab file:
        19 45 * * * /tmp/perf/nmon.sh
contains the following error:
        0481-077 The date or time is either too large or too small.收起
参与12

查看其它 10 个回答jfgsglb的回答

jfgsglbjfgsglb软件开发工程师一汽
你的aa脚本有问题吧,19 45 * * * /tmp/perf/nmon.sh,有45小时的时候吗?????
改成:45 19 * * * /tmp/perf/nmon.sh
互联网服务 · 2012-04-26
浏览5521

回答者

jfgsglb
软件开发工程师一汽
擅长领域: 服务器lparAIX

jfgsglb 最近回答过的问题

回答状态

  • 发布时间:2012-04-26
  • 关注会员:1 人
  • 回答浏览:5521
  • X社区推广