本帖最後由 Arisa 於 2022-4-20 12:45 編輯
有幾個php script set左crontab 15分鐘行一次,
0,15,30,45 * * * * /usr/bin/php /home/httpd/html/aaa.php >> /home/httpd/log/xxxx.log 2>&1
1,16,31,46 * * * * /usr/bin/php /home/httpd/html/bbb.php >> /home/httpd/log/xxxx.log 2>&1
2,17,32,47 * * * * /usr/bin/php /home/httpd/html/ccc.php >> /home/httpd/log/xxxx.log 2>&1
3,18,33,48 * * * * /usr/bin/php /home/httpd/html/ddd.php >> /home/httpd/log/xxxx.log 2>&1
第2,3,4句正常,唯獨第一句唔識自動執行。但我成句copy 在command line 手動執行又行得到。
可以有咩原因? |