View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Running of Cron is not correctly checked - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

15 et 16 avril 2025 (9h-12h30)

14 et 15 mai 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

23 et 24 avril (9h-12h30)

20 et 21 mai (9h-12h30)

 

 

 

Running of Cron is not correctly checked

More
04 Jan 2020 08:28 #1 by burgerzs
Hi,

It seems to me that when the running of Cron is checked in Cron relaunch(), then it is not taken into account that in RUNNING file there are more items, not only the time. e.g. 1578120959|879|5e1036d65c5751.75848963

Thus Cron is relaunched after a user logs in.

As a temporary correction I changed:
$last=fgets($handle);
to this:
$tmp_runningfile=fgets($handle);
$tmp_runningfile_array=explode("|",$tmp_runningfile);
$last=reset($tmp_runningfile_array);

It seems to be ok now.

Regards,
Zsolt

Please Connexion or Create an account to join the conversation.

More
06 Jan 2020 17:40 #2 by babynus
You are right.
The changes done on Cron::check() where not done on Cron::relaunch().

Thanks for pointing out the issue and proposing a patch.
Fix will be included in V8.3.2

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.045 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.