git reset
git checkout .
git checkout master
git pull --rebase
composer install --no-dev
php artisan migrate --force
npm i
npm run build
php artisan optimize:clear
php artisan route:cache
php artisan config:cache
php artisan view:cache
php artisan runcloud:restart-supervisor
In order to be able to upload a file enable: highlight_file() and tmpfile().
php artisan queue:work --sleep=3 --tries=3 --max-time=3600
* * * * * php artisan schedule:run > /dev/null 2>&1
OR
* * * * * php artisan schedule:run >> logcron.log