【问题标题】:Cron job to run a script at the begining of the month在月初运行脚本的 Cron 作业 【发布时间】:2010-05-11 13:38:01 【问题描述】: 我想编写一个必须在每个月的第一天运行 PHP 脚本的 cron 作业。 你能帮我解决这个问题吗? 谢谢。 【问题讨论】: 标签: cron 【解决方案1】: 添加到 crontab -e 这个: 0 0 1 * * php /path/to/script.php 祝你好运! 【讨论】: