Skip to content

Instantly share code, notes, and snippets.

@mrTimofey
Last active March 9, 2018 04:39
Show Gist options
  • Save mrTimofey/82d33a2983e791b3b84edbd08a983570 to your computer and use it in GitHub Desktop.
Save mrTimofey/82d33a2983e791b3b84edbd08a983570 to your computer and use it in GitHub Desktop.
Laravel Artisan schedule with logging
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