put the file in the app folder and run it from anywhere you want, also make sure
php
is inPATH
Last active
November 8, 2020 13:38
-
-
Save ctf0/82f6c07de1b8b4ef61ca0125d2ff9281 to your computer and use it in GitHub Desktop.
laravel cron on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:loop | |
php artisan schedule:run 1>> NUL 2>&1 | |
timeout /t 60 /nobreak > NUL | |
goto loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment