Skip to content

Instantly share code, notes, and snippets.

@basherr
Created March 19, 2018 10:32
Show Gist options
  • Save basherr/8edfcaa6828f2b7dbd2e25807e377588 to your computer and use it in GitHub Desktop.
Save basherr/8edfcaa6828f2b7dbd2e25807e377588 to your computer and use it in GitHub Desktop.
shell cron job commands
#!/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