After updating 3.4 to 3.5 crond via the server's crond service does not work

Any critical bugs will be fixed within 24-48 hours.
Post Reply
User avatar
lmilani
Posts: 24
Joined: 12 Jan 2024, 01:01
Name: Luciano Milani
Location: Portugal
Company Name: ML
Contact:

After updating 3.4 to 3.5 crond via the server's crond service does not work

Post by lmilani »

After updating 3.4 to 3.5 crond via the server's crond service does not work

however cron via https works normally


All recurring tasks, bkps and emails stopped working automatically


LOG
-- The start-up result is done.
Feb 05 12:26:01 phanton.techx.com.pt CROND[9575]: (gestao) CMD (/usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /home/gestao/my.site.com/cron/backup.php )
Feb 05 12:26:01 phanton.techx.com.pt CROND[9574]: (root) CMD (/usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /home/gestao/my.site.com/cron/email.php)
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: After updating 3.4 to 3.5 crond via the server's crond service does not work

Post by support »

Strange. Make sure cron is using PHP>=8.0.2
User avatar
lmilani
Posts: 24
Joined: 12 Jan 2024, 01:01
Name: Luciano Milani
Location: Portugal
Company Name: ML
Contact:

Re: After updating 3.4 to 3.5 crond via the server's crond service does not work

Post by lmilani »

I chnge for this:

0 0,12 * * * /usr/local/bin/php -d max_execution_time=18000 -q /home/gestao/my.site.com/cron/backup.ph

and bkp cron is OK

0 0,12 * * * /usr/local/bin/php -d max_execution_time=18000 -q /home/gestao/my.gestaocare.com/cron/backup.ph
User avatar
lmilani
Posts: 24
Joined: 12 Jan 2024, 01:01
Name: Luciano Milani
Location: Portugal
Company Name: ML
Contact:

Re: After updating 3.4 to 3.5 crond via the server's crond service does not work

Post by lmilani »

-- The start-up result is done.
Feb 05 14:55:02 phanton.techx.com.pt CROND[27585]: (root) CMD (/usr/local/bin/php -d max_execution_time=18000 -q /home/gestao/my.site.com/cron/file_storage.php)
Feb 05 14:55:02 phanton.techx.com.pt CROND[27587]: (root) CMD (/usr/local/bin/php -d max_execution_time=18000 -q /home/gestao/my.site.com/cron/email.php)

Please check if the configuration is correct?

Config/server.php
//Configure server host to build urls correctly in cron
//Enter [http or https]+[domainname]+[catalog] for example: https://mycompany.com/mypm/
define('CRON_HTTP_SERVER_HOST', 'https://my.site.com');
Post Reply