View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Background activity setup - bg stops after two minutes - ProjeQtOr
 
 

Background activity setup - bg stops after two minutes

More
10 Apr 2018 19:28 #1 by tonix
I'm here again trying to make the "internalcron working".
I've yet version 5.5.4, so I don't know if this feature changed a lot on next versions (I'm planning to migrate nextly).

When I configure my IMAP connection for reading emails, and then I start the background activity, the background task works for a couple of minutes, than the background activity status turns back to stopped.

Which is the principle for which this feature should work without stopping h24, of course without putting the PHP execution limits to weeks?
What am I missing? Should an admin be always logged?

Thanks,

Tonino

Please Log in or Create an account to join the conversation.

More
11 Apr 2018 19:55 #2 by babynus
Hi,

Please check if error is logged on projeqtor error log file.

CRON Process never ends, so it should not stop unless :
- an error occurs
- you php configuration forbids to set time_limit to zero (no limit)

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
11 Apr 2018 20:08 #3 by tonix
Of course php is not permitted to set itself for infinite loop. This is a normal safety precaution.
Wouldn't it be easier to provide a cron php file to execute when needed?
Maybe a simple cron php file which will call already existing functions for polling IMAP, importing files, etc...

Please Log in or Create an account to join the conversation.

More
11 Apr 2018 20:18 #4 by babynus

Of course php is not permitted to set itself for infinite loop.

It is not a question of infinite loop, but infiinite (or at least not limited) execution time
This is how internal CRON process works.

Using linux CRON process is out of question : too hard to configure for most users and not available on Windows...

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
11 Apr 2018 21:11 #5 by tonix
(real) cron is the only affordable solution, just need two lines of comment and it's done. Windows users may use actual scheduler as alternative, but I feel they will prefer schtasks.
It should not be so difficult to extract one or two files to put be in cron, but it would save time and nightmares to the most of users.

Please Log in or Create an account to join the conversation.

More
12 Apr 2018 17:57 #6 by babynus

(real) cron is the only affordable solution

No, our internal system works fine

just need two lines of comment and it's done

If it is so simple, just do it ;)

t should not be so difficult to extract one or two files to put be in cron

Not so easy and really no interest

but it would save time and nightmares to the most of users.

Our internal CRON works like a charm for most users. We won't change things that work for most to please single user.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.039 seconds

Cookies settings

×

Functional Cookies

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

Please login to see yours activities!

Other cookies

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