Update wallos.sh

This commit is contained in:
Tobias
2025-07-22 08:27:15 +02:00
committed by GitHub
parent 13cdadb641
commit c28da2a4e4

View File

@ -41,6 +41,7 @@ function update_script() {
rm -rf /opt/wallos/db/wallos.empty.db
mv /opt/wallos.db /opt/wallos/db/wallos.db
mv /opt/logos/* /opt/wallos/images/uploads/logos
echo "30 1 * * 1 php /opt/wallos/endpoints/cronjobs/storetotalyearlycost.php >> /var/log/cron/storetotalyearlycost.log 2>&1" >> /opt/wallos.cron
chown -R www-data:www-data /opt/wallos
chmod -R 755 /opt/wallos
mkdir -p /var/log/cron