fix: cronjobs running twice (#239)
This commit is contained in:
parent
c2b4ee1a5c
commit
00cbf8d9e3
@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
$version = "v1.17.0";
|
$version = "v1.17.1";
|
||||||
?>
|
?>
|
||||||
@ -25,6 +25,9 @@ chown -R www-data:www-data /var/www/html/db/
|
|||||||
chmod -R 755 /var/www/html/images/uploads/logos
|
chmod -R 755 /var/www/html/images/uploads/logos
|
||||||
chown -R www-data:www-data /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
|
# Run updatenextpayment.php and wait for it to finish
|
||||||
/usr/local/bin/php /var/www/html/endpoints/cronjobs/updatenextpayment.php
|
/usr/local/bin/php /var/www/html/endpoints/cronjobs/updatenextpayment.php
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user