BAE3.0定时任务设置
来源:互联网 发布:造梦西游刷点卷软件 编辑:程序博客网 时间:2024/04/30 11:29
- * * * * * command
- 分 时 日 月 周 命令
- 第1列表示分钟1~59 每分钟用*或者 */1表示
- 第2列表示小时1~23(0表示0点)
- 第3列表示日期1~31
- 第4列表示月份1~12
- 第5列标识号星期0~6(0表示星期天)
- 第6列要运行的命令
- crontab文件的一些例子:
- 30 21 * * * /usr/local/etc/rc.d/lighttpd restart
- 上面的例子表示每晚的21:30重启apache。
- 45 4 1,10,22 * * /usr/local/etc/rc.d/lighttpd restart
- 上面的例子表示每月1、10、22日的4 : 45重启apache。
- 10 1 * * 6,0 /usr/local/etc/rc.d/lighttpd restart
- 上面的例子表示每周六、周日的1 : 10重启apache。
- 0,30 18-23 * * * /usr/local/etc/rc.d/lighttpd restart
- 上面的例子表示在每天18 : 00至23 : 00之间每隔30分钟重启apache。
- 0 23 * * 6 /usr/local/etc/rc.d/lighttpd restart
- 上面的例子表示每星期六的11 : 00 pm重启apache。
- * */1 * * * /usr/local/etc/rc.d/lighttpd restart
- 每一小时重启apache
- * 23-7/1 * * * /usr/local/etc/rc.d/lighttpd restart
- 晚上11点到早上7点之间,每隔一小时重启apache
- 0 11 4 * mon-wed /usr/local/etc/rc.d/lighttpd restart
- 每月的4号与每周一到周三的11点重启apache
- 0 4 1 jan * /usr/local/etc/rc.d/lighttpd restart
- 一月一号的4点重启apache
0 0
- BAE3.0定时任务设置
- spring3.0设置定时任务
- spring3.0设置定时任务
- Linux定时任务设置
- 设置定时任务
- Linux设置定时任务
- 设置定时,任务:AlarmManager
- mysql设置定时任务
- crontab设置定时任务
- Linux定时任务设置
- crontab 设置定时任务
- 定时任务设置
- Linux定时任务设置
- 设置定时执行任务
- mysql设置定时任务
- linux设置定时任务
- 定时任务的设置
- linux设置定时任务
- 【cocos2dx 3.3】口袋空战1 背景层
- JAVASCRIRP 如何退出整个框架
- 使用java/groovy扩展ant初步
- HDOJ1011 Starship Troopers
- sed
- BAE3.0定时任务设置
- HTML5 SVG用marker画箭头
- 无
- 下载链接_编程开发相关
- php管理依赖关系工具composer学习笔记
- 详解项目管理认证(PMP、IPMP、ITPMP、CPMP)
- C++ vector使用方法
- eclipse自动生成方法注释 快捷键
- MIME类型