[Vtigercrm-developers] workflow "not ready to run as the time to run again is not completed"

Preexo preexo at googlemail.com
Thu Apr 28 04:33:28 GMT 2016


I know this is old and you have probably all heard the problem a thousand
times, but I can not find anything that actually works for me. The most
promising was adding $MINIMUM_CRON_FREQUENCY = 1; to the config file, but
that also had no effect.

What I tried: 
- I set the variable $MINIMUM_CRON_FREQUENCY to 1 in the config.inc.php.
- I run the cronjob cron/vtigercron.sh with the apache user once a minute by
cronjob

What I would expect:
Everytime I run the cronjob, the workflows are being executed. Scheduled
workflows that should send out something once a minute send out something
once a minute.

What actually happens:
The cronjob is being executed once a minute and it throws the output into a
logfile. For 10 minutes in a row it messages that it's not going to do
anything since the time is not up yet.
```
[CRON],"1461819901.8576",http://192.168.10.91/crmdev,Instance,"2016-04-28
05:05:01","",[STARTS]
[INFO] Workflow - not ready to run as the time to run again is not completed
[INFO] RecurringInvoice - not ready to run as the time to run again is not
completed
[INFO] SendReminder - not ready to run as the time to run again is not
completed
[INFO] MailScanner - not ready to run as the time to run again is not
completed
[INFO] ScheduleReports - not ready to run as the time to run again is not
completed
[CRON],"1461819901.8576",http://192.168.10.91/crmdev,Instance,"2016-04-28
05:05:01","2016-04-28 05:05:01",[ENDS]
```
Then every other execution it actually does something, but there is no real
pattern. I don't get it.

So I am wondering: How can I setup the workflow and cronjob to be executed
once a minute?





--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/workflow-not-ready-to-run-as-the-time-to-run-again-is-not-completed-tp18910.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.


More information about the vtigercrm-developers mailing list