docker
This commit is contained in:
5
docker/crontab
Normal file
5
docker/crontab
Normal file
@ -0,0 +1,5 @@
|
||||
# 每分钟执行 start.sh
|
||||
* * * * * /bin/sh /app/public/start.sh >> /app/runtime/log/cron.log 2>&1
|
||||
|
||||
# 每分钟执行 think InterestTreasure
|
||||
* * * * * cd /app && /usr/local/bin/php /app/think InterestTreasure >> /app/runtime/log/think.log 2>&1
|
||||
Reference in New Issue
Block a user