Merge pull request #9 from frju365/master

test cron
This commit is contained in:
liberodark 2019-01-02 22:59:24 +01:00 committed by GitHub
commit a73436e38b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,10 +194,7 @@ yunohost service add $app --log "/var/log/$app/$app-prod.log"
# Cron
#==============================================
crontab -l > pterodactyl
echo "* * * * * php /var/www/pterodactyl/artisan schedule:run" >> pterodactyl
crontab pterodactyl
#crontab -l | { cat; echo "* * * * * php /var/www/pterodactyl/artisan schedule:run"; } | crontab -
su $app -c 'crontab -l | { cat; echo "* * * * * php /var/www/pterodactyl/artisan schedule:run" ; } | crontab -'
#=================================================
# GENERIC FINALIZATION