Added second run_as_app_user

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-09 14:31:02 -07:00
parent a766572a2f
commit 31e4d3b725

View file

@ -237,7 +237,7 @@ install_snipeit () {
log "php $APP_PATH/artisan migrate --force" log "php $APP_PATH/artisan migrate --force"
echo "* Creating scheduler cron." echo "* Creating scheduler cron."
(run_as_app_user crontab -l ; echo "* * * * * /usr/bin/php $APP_PATH/artisan schedule:run >> /dev/null 2>&1") | crontab - (run_as_app_user crontab -l ; echo "* * * * * /usr/bin/php $APP_PATH/artisan schedule:run >> /dev/null 2>&1") | run_as_app_user crontab -
} }
set_firewall () { set_firewall () {