Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,美好的一天,我正在使用 cron 作业执行任务,这是我的 cronjob 脚本就像 cronjob.php?cron=1 但该链接不起作用我收到电子邮件,如 cron 无法打开输入文件为什么 cron 不获取 id
我们必须在构造函数中传递 id 之后我们可以做一些类似这样的事情 $id = $this->argument('id');