- 论坛徽章:
- 0
|
HP-UNIX上两个调度:
hbcj2:[/]#crontab -l
0 7 * * * /opt/cj/probe/startallalarm.sh
0 18 * * * /opt/cj/probe/stopallalarm.sh
但是晚上18点的这个执行了,早上7点的没有执行,请教问题在哪??谢谢了
man crontab
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
crontab(1) crontab(1)
minute The minute of the hour, 0-59
hour The hour of the day, 0-23
monthday The day of the month, 1-31
month The month of the year, 1-12
weekday The day of the week, 0-6, 0=Sunday
Each pattern can be either an asterisk (*), meaning all legal values,
or a list of elements separated by commas. An element is either a
number in the ranges shown above, or two numbers in the range
separated by a hyphen (meaning an inclusive range). Note that the
specification of days can be made in two fields: monthday and weekday.
If both are specified in an entry, they are cumulative. For example,
0 0 1,15 * 1 command |
|