Skip to content

Commit

Permalink
fix: cronjobs running twice (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite authored Mar 18, 2024
1 parent c2b4ee1 commit 00cbf8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v1.17.0";
$version = "v1.17.1";
?>
3 changes: 3 additions & 0 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 00cbf8d

Please sign in to comment.