'crontab' is not recognized as an internal or external command
-
Hello everyone,
I am trying to use the task scheduler feature of Laravel on Laragon (https://laravel.com/docs/master/scheduling#introduction). However, when I tried to execute the following code on the terminal:
-
-
-
-
- php /path/to/artisan schedule:run >> /dev/null 2>&1
-
-
-
It said " '*' is not recognized as an internal or external command,
operable program or batch file."In addition, if I typed in "crontab -e", it said " 'crontab' is not recognized as an internal or external command,
operable program or batch file."Can anyone help me solve it? Thanks!
-
-
@Wayne-Wu:
Laragon works on Windows, so there is no crontab command.
This link maybe helpful to you:
https://laracasts.com/discuss/channels/general-discussion/running-schedulerun-on-windows
-
Thank you for your help!