阅读(3135)
赞(7)
Laravel 8 Shell 调度命令
2021-07-06 09:25:11 更新
exec
方法可用于向操作系统发送命令:
$schedule->exec('node /home/forge/script.js')->daily();
exec
方法可用于向操作系统发送命令:
$schedule->exec('node /home/forge/script.js')->daily();
Copyright©2023 字节宝| |
违法和不良信息举报电话:|举报邮箱:[email protected]