Running a php script with a .bat file

后端 未结 6 1508
隐瞒了意图╮
隐瞒了意图╮ 2021-01-17 20:49

I need to run a php script at midnight every night on my server. On a linux system I\'d set up a cron job, but I\'m stuck with a windows system.

I know I have to set

6条回答
  •  轮回少年
    2021-01-17 21:26

    Try like this guys!

    cd E:\xampp\htdocs\my-project
    E:
    php artisan schedule:run
    

提交回复
热议问题