-
-
Save abada/f561beb7b33976f84b32186573545c9b to your computer and use it in GitHub Desktop.
Starting the Laravel cron job on a Mac
This file contains hidden or 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
accepted | |
Not directly answering your question, but proposing another solution: | |
If you want to set up cron jobs for your development environment, it's best to use Homestead, for its Linux standards compliance. | |
For small projects that i develop directly inside macOS, i run the following command inside the project root (in a separate terminal tab) to have my jobs run every minute: | |
```while true; do php artisan schedule:run; sleep 60; done``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment