commit
a73436e38b
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue