fix: cronjobs running twice (#239)

This commit is contained in:
Miguel Ribeiro 2024-03-18 23:02:18 +01:00 committed by GitHub
parent c2b4ee1a5c
commit 00cbf8d9e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,3 @@
<?php
$version = "v1.17.0";
$version = "v1.17.1";
?>

View File

@ -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