<div dir="ltr">I try to add <div>$MINIMUM_CRON_FREQUENCY = '1';  to config.inc.php</div><div><br></div><div>and configure cron: </div><div><div>*/1 * * * * /var/www/xxx/<a href="http://xxxxxxx.it/htdocs/cron/vtigercron.sh">xxxxxxx.it/htdocs/cron/vtigercron.sh</a></div></div><div><br></div><div>and works well:  </div><div><a href="http://i.imgur.com/aKnYOGh.jpg">http://i.imgur.com/aKnYOGh.jpg</a><br></div><div><br></div><div><a href="http://i.imgur.com/C8J88QI.jpg">http://i.imgur.com/C8J88QI.jpg</a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-28 7:20 GMT+02:00 Matteo Baranzoni <span dir="ltr"><<a href="mailto:info@greenbitweb.com" target="_blank">info@greenbitweb.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">did you try to edit vtiger_cron_task frequency field? </div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-04-28 6:33 GMT+02:00 Preexo <span dir="ltr"><<a href="mailto:preexo@googlemail.com" target="_blank">preexo@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I know this is old and you have probably all heard the problem a thousand<br>
times, but I can not find anything that actually works for me. The most<br>
promising was adding $MINIMUM_CRON_FREQUENCY = 1; to the config file, but<br>
that also had no effect.<br>
<br>
What I tried:<br>
- I set the variable $MINIMUM_CRON_FREQUENCY to 1 in the config.inc.php.<br>
- I run the cronjob cron/vtigercron.sh with the apache user once a minute by<br>
cronjob<br>
<br>
What I would expect:<br>
Everytime I run the cronjob, the workflows are being executed. Scheduled<br>
workflows that should send out something once a minute send out something<br>
once a minute.<br>
<br>
What actually happens:<br>
The cronjob is being executed once a minute and it throws the output into a<br>
logfile. For 10 minutes in a row it messages that it's not going to do<br>
anything since the time is not up yet.<br>
```<br>
[CRON],"1461819901.8576",<a href="http://192.168.10.91/crmdev,Instance," rel="noreferrer" target="_blank">http://192.168.10.91/crmdev,Instance,</a>"2016-04-28<br>
05:05:01","",[STARTS]<br>
[INFO] Workflow - not ready to run as the time to run again is not completed<br>
[INFO] RecurringInvoice - not ready to run as the time to run again is not<br>
completed<br>
[INFO] SendReminder - not ready to run as the time to run again is not<br>
completed<br>
[INFO] MailScanner - not ready to run as the time to run again is not<br>
completed<br>
[INFO] ScheduleReports - not ready to run as the time to run again is not<br>
completed<br>
[CRON],"1461819901.8576",<a href="http://192.168.10.91/crmdev,Instance," rel="noreferrer" target="_blank">http://192.168.10.91/crmdev,Instance,</a>"2016-04-28<br>
05:05:01","2016-04-28 05:05:01",[ENDS]<br>
```<br>
Then every other execution it actually does something, but there is no real<br>
pattern. I don't get it.<br>
<br>
So I am wondering: How can I setup the workflow and cronjob to be executed<br>
once a minute?<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtiger-crm.2324883.n4.nabble.com/workflow-not-ready-to-run-as-the-time-to-run-again-is-not-completed-tp18910.html" rel="noreferrer" target="_blank">http://vtiger-crm.2324883.n4.nabble.com/workflow-not-ready-to-run-as-the-time-to-run-again-is-not-completed-tp18910.html</a><br>
Sent from the vtigercrm-developers mailing list archive at Nabble.com.<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>