* * * * * command
3,15 * * * * command
3,15 8-11 * * * command
3,15 8-11 */2 * * command
3,15 8-11 * * 1 command
30 21 * * * command
45 4 1,10,22 * * command
10 1 * * 6,0 command
0,30 18-23 * * * command
0 23 * * 6 command
* */1 * * *
* 23-7/1 * * *
0 11 4 * mon-wed
0 4 1 jan *
01 * * * * root run-parts /etc/cron.hourly
手动可执行任务,但无法自动执行,需要注意环境变量
cat start_cbp.sh #!/bin/sh source /etc/profile export RUN_CONF=/home/d139/conf/platform/cbp/cbp_jboss.conf /usr/local/jboss-4.0.5/bin/run.sh -c mev &