mirror of https://github.com/tteck/Proxmox.git
Cronjob Switching with OCC Command
must be done at the end, after NC is running
This commit is contained in:
parent
5330d6f889
commit
63b76fab03
|
@ -183,7 +183,6 @@ fi
|
||||||
EOF
|
EOF
|
||||||
sed -i '/monthly/a */5 * * * * run-parts /etc/periodic/5min' /etc/crontabs/root
|
sed -i '/monthly/a */5 * * * * run-parts /etc/periodic/5min' /etc/crontabs/root
|
||||||
$STD chmod +x /etc/periodic/5min/nextcloud_cron
|
$STD chmod +x /etc/periodic/5min/nextcloud_cron
|
||||||
$STD su nextcloud -s /bin/sh -c 'php82 /usr/share/webapps/nextcloud/occ background:cron'
|
|
||||||
msg_ok "Set up Nextcloud-Cronjob"
|
msg_ok "Set up Nextcloud-Cronjob"
|
||||||
|
|
||||||
msg_info "Setting up Nextcloud-Config"
|
msg_info "Setting up Nextcloud-Config"
|
||||||
|
@ -238,6 +237,7 @@ $STD rc-service nginx start
|
||||||
$STD rc-service nextcloud start
|
$STD rc-service nextcloud start
|
||||||
$STD rc-update add nginx default
|
$STD rc-update add nginx default
|
||||||
$STD rc-update add nextcloud default
|
$STD rc-update add nextcloud default
|
||||||
|
$STD su nextcloud -s /bin/sh -c 'php82 /usr/share/webapps/nextcloud/occ background:cron'
|
||||||
msg_ok "Started Alpine-Nextcloud"
|
msg_ok "Started Alpine-Nextcloud"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|
Loading…
Reference in New Issue