Commit 102b2477 by 纪相明

修改计划任务执行权限

parent f74ffb87
...@@ -19,7 +19,7 @@ TZ=Asia/Shanghai ...@@ -19,7 +19,7 @@ TZ=Asia/Shanghai
# #
# 每分钟检测一次服务是否正常运行 # 每分钟检测一次服务是否正常运行
* * * * * root /bin/date "+%Y-%m-%d %H:%M:%S" >> /tmp/test-crontab.log 2>&1 * * * * * www-data /bin/date "+%Y-%m-%d %H:%M:%S" >> /tmp/test-crontab.log 2>&1
* * * * * root /var/www/artisan schedule:run >> /tmp/schedule-run.log 2>&1 * * * * * www-data /var/www/artisan schedule:run >> /tmp/schedule-run.log 2>&1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment