Bugfix: Wallos Patch (Cron Log & Media Backup) (#331)

* Update wallos.sh

* Update wallos.sh

* Update wallos-install.sh

* Remove Empty Line
This commit is contained in:
CanbiZ
2024-11-18 17:44:53 +01:00
committed by GitHub
parent a3ff42b122
commit b794a48f83
2 changed files with 7 additions and 5 deletions

View File

@@ -59,6 +59,7 @@ $STD curl http://localhost/endpoints/db/migrate.php
msg_ok "Installed Wallos"
msg_info "Setting up Crontabs"
mkdir -p /var/log/cron
cat <<EOF > /opt/wallos.cron
0 1 * * * php /opt/wallos/endpoints/cronjobs/updatenextpayment.php >> /var/log/cron/updatenextpayment.log 2>&1
0 2 * * * php /opt/wallos/endpoints/cronjobs/updateexchange.php >> /var/log/cron/updateexchange.log 2>&1
@@ -78,4 +79,4 @@ msg_info "Cleaning up"
rm -rf /opt/v${RELEASE}.zip
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"
msg_ok "Cleaned"