Created
March 19, 2018 10:32
-
-
Save basherr/8edfcaa6828f2b7dbd2e25807e377588 to your computer and use it in GitHub Desktop.
shell cron job commands
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
#!/bin/bash | |
cd /var/www/html/folder | |
PATH=$PATH:/usr/local/bin | |
export PATH | |
export DISPLAY=:5 | |
php artisan queue:flush #run any command | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment