Windows task scheduler last run returning 0xff when running command for laravel scheduler

  laravel, windows

I want to use windows task scheduler for my laravel application. But whenever the schedule triggered, it not running perfectly. The data in my database not changing to what I want.

I’ve already tested it before in my localhost (windows 10 pro) and it running well without any problem. But when I’m running it on my server (windows server 2016), it doesn’t working. And if I look properly, whenever task scheduler trying to open cmd, the cmd will automatically closed without running any command.

I’ve searching about this problem since yesterday, but not yet found any solutions.

And I don’t know what I need to provide because maybe the problem is in the task scheduler itself? or in the os?

Any help would be very appreciated, thanks

Source: Laravel

Leave a Reply