Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

CRON Stop automatic...
 
Notifications
Clear all

CRON Stop automatically

5 Posts
2 Users
0 Reactions
2,156 Views
(@durou-c)
Posts: 468
Contributor
Topic starter
 
[#5757]

The Cron stop automatically, I must to restart it every day, what's wrong ?


 
Posted : 11 Feb 2019 12H00
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Please check if some error is logged.
If an error or an exception happens on cron process, it is stopped.
We arr working on evolution for next version to detect this and restart it automatically.

If there is no error, possibly it is because of your PHP configuration.
Cron is a process that runs forever, but for this, your PHP configuration must allow set max_execution_time to zero.
There are soem configurations that forbid this.

Another possible source is that your PHP is stopped for maintenance (some operating teams stop PHP before backup of DB).
If so, Cron will try and restart automatically, but it is possible only when a new user corrects (we need to detect some interactions to check cron running)


 
Posted : 11 Feb 2019 12H35
(@durou-c)
Posts: 468
Contributor
Topic starter
 

No error on log file.
I change value for max_execution_time =30 to 0
I restart Apache server, and I will see if Cron re-stop ...


 
Posted : 11 Feb 2019 12H45
(@durou-c)
Posts: 468
Contributor
Topic starter
 

I'd changed max_execution_time=0 but I have always Cron stopped...
I must everyday to start it on the morning...


 
Posted : 14 Feb 2019 10H56
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Hi,

It seems your PHP is stopped during the night.
We have a system that should restart it automatiucally at first login of any user, but it does not seem to work.
I have recorded ticket #3856


 
Posted : 14 Feb 2019 18H53
Share:

Scroll to Top