84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
具体的crontab命令参数我知道一次分别是:分 时 日 月 周 脚本命令
分 时 日 月 周 脚本命令
如果我想设置每半小时执行一次改怎么设置呢!这样设置的30 时 日 月 周 脚本命令貌似没执行呢!没拉到日志
30 时 日 月 周 脚本命令
光阴似箭催人老,日月如移越少年。
You are executing this at 30 minutes every hour, so you are executing it once an hour In the window that comes out of crontab -e, you don’t need to write the user name, just write the command directly
*/30 * * * * 命令
*/30 * * * * means execution every thirty minutes
*/30 * * * *
The configuration of the script is: 分 时 日 月 周 用户 脚本命令Don’t omit the running user, otherwise the command will be parsed into the user, causing failure
分 时 日 月 周 用户 脚本命令
Your setting really doesn’t work, it should be like this*/30 * * * * /server/php7.02/php /htdocs/example.web.com/action/post/example.php
*/30 * * * * /server/php7.02/php /htdocs/example.web.com/action/post/example.php
Graphic reference methodhttp://www.corntab.com/
You are executing this at 30 minutes every hour, so you are executing it once an hour
In the window that comes out of crontab -e, you don’t need to write the user name, just write the command directly
*/30 * * * *
means execution every thirty minutesThe configuration of the script is:
分 时 日 月 周 用户 脚本命令
Don’t omit the running user, otherwise the command will be parsed into the user, causing failure
Your setting really doesn’t work, it should be like this
*/30 * * * * /server/php7.02/php /htdocs/example.web.com/action/post/example.php
Graphic reference method
http://www.corntab.com/