修改crontab

This commit is contained in:
ascrutae 2016-05-27 14:17:24 +08:00
parent 5e76c5c54e
commit 0f98b42013
1 changed files with 2 additions and 1 deletions

View File

@ -189,9 +189,10 @@ $mvn package -Dmaven.test.skip=true
```
- 创建crontab并运行脚本. Create crontab and run the command.
Crontab表达式见[更多](http://tool.lu/crontab/).Crontab express:[more](http://tool.lu/crontab/)
```
> crontab -e
# 此处为每20分钟执行start-analysis.sh脚本,Crontab表达式见[更多](http://tool.lu/crontab/). Executed start-analysis script every 20 minutesCrontab express:[more](http://tool.lu/crontab/)
# 此处为每20分钟执行start-analysis.sh脚本. Executed start-analysis script every 20 minutes.
*/20 * * * * start-analysis.sh
```