我试图在我的OVH中运行一个cron,但是它不接受命令:
php artisan schedule:run 1>> /dev/null 2>&1
发生了错误 :
它说:
The characters for the records are letters , numbers, and characters -_./ Moreover , it is forbidden to access parent folders
使用Laravel文档上的示例以及工作目录的完整路径:
* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1