Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

fix: cronjobs running twice (#239)

Miguel Ribeiro00cbf8d9e3fe
diff --git a/includes/version.php b/includes/version.php
index 1309ce2..569ddaa 100644
--- a/includes/version.php
+++ b/includes/version.php
@@ -1,3 +1,3 @@
<?php
- $version = "v1.17.0";
+ $version = "v1.17.1";
?>
\ No newline at end of file
diff --git a/startup.sh b/startup.sh
index dd4135c..9d14e0d 100644
--- a/startup.sh
+++ b/startup.sh
@@ -25,6 +25,9 @@ chown -R www-data:www-data /var/www/html/db/
chmod -R 755 /var/www/html/images/uploads/logos
chown -R www-data:www-data /var/www/html/images/uploads/logos
+# Remove crontab for the user
+crontab -d -u root
+
# Run updatenextpayment.php and wait for it to finish
/usr/local/bin/php /var/www/html/endpoints/cronjobs/updatenextpayment.php