Time based workflow problem - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8) +--- Thread: Time based workflow problem (/showthread.php?tid=2044) |
Time based workflow problem - addady2 - 12-01-2020 Hello, I create my first time based workflow to run every 15 minutes. But in practice it run every hour! My vtigercron.php schedule to run every 15 minutes, and it run every 15 minutes. I know that beacuse my "Mail Converter" working fine every 15 minutes. In: Cron Tasks Scheduler: Cron jon workflow is set to 00:15 Attach screen shots Thank you RE: Time based workflow problem - joebordes - 12-01-2020 probably not every hour, but every half hour is possible. this works like this: when the workflow scheduler launches, every 15min, it looks to see what workflow tasks and scheduled workflows have passed and executes them. Now, imagine that the scheduled workflow is triggered and takes a minute or so to finish. The next time the workflow launcher runs, 15min have passed but for the scheduled workflow it has been only 14min, so it isn't executed and has to wait another 15min for the workflow launcher to run again, effectively being 30min more or less. In short, you need to set the workflow launcher to a lower frequency than the least scheduled workflow frequency or you may have cases where they sync doubling the time. RE: Time based workflow problem - addady2 - 12-23-2020 I change the OS cron to run to 5 min, but unable to cause the workflow to run every 15 min. The minimum I sussed is abut 30 min. It the a way to call from the OS (via cron or other) specific workflow task. RE: Time based workflow problem - joebordes - 12-23-2020 share your scheduled tasks settings and the settings of the workflow, see if I can understand what is happening RE: Time based workflow problem - joebordes - 12-23-2020 I see above that the workflow is set to 15min and the scheduler also, so they may sync and execute every 30min set the OS cron to 4min and the workflow to 5min, leave the scheduler at 15min |