Last active
March 9, 2018 04:39
-
-
Save mrTimofey/82d33a2983e791b3b84edbd08a983570 to your computer and use it in GitHub Desktop.
Laravel Artisan schedule with logging
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
crontab -l | { cat; echo "* * * * * ~/PROJECT/artisan schedule:run >> ~/PROJECT/storage/logs/crontab.log 2>&1"; } | crontab - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment