Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update crontab #4

Merged
merged 2 commits into from
Nov 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crontab/pei-zhi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ pname = "php-swoft";
tcpable = 1;
cronable = 0;
```
- crontab = 0 ;关闭
- cronable = 0 ;关闭

- crontab = 1 ;开启
- cronable = 1 ;开启

在server的section里面,可以看到一个选项叫`cronable`,这个是开启crontab任务的开关。默认值为:**0**

Expand Down
2 changes: 1 addition & 1 deletion crontab/xiang-guan-jin-cheng.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ cronExec = 'Swoft\Process\CronExecProcess'

- cronExec : 执行进程

进程的名字命(cronTimer/cronExec)**允许**修改,但是指定的类**不允许**修改。
进程的名字(cronTimer/cronExec)命名**允许**修改,但是指定的类**不允许**修改。