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

Matteo Baranzoni info at greenbitweb.com
Thu Apr 28 05:39:27 GMT 2016


I try to add
$MINIMUM_CRON_FREQUENCY = '1';  to config.inc.php

and configure cron:
*/1 * * * * /var/www/xxx/xxxxxxx.it/htdocs/cron/vtigercron.sh

and works well:
http://i.imgur.com/aKnYOGh.jpg

http://i.imgur.com/C8J88QI.jpg


2016-04-28 7:20 GMT+02:00 Matteo Baranzoni <info at greenbitweb.com>:

> did you try to edit vtiger_cron_task frequency field?
>
> 2016-04-28 6:33 GMT+02:00 Preexo <preexo at googlemail.com>:
>
>> 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.
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160428/7083e282/attachment.html>


More information about the vtigercrm-developers mailing list