[Vtigercrm-developers] scheduled import cron overlap

Prasad prasad at vtiger.com
Wed Aug 23 08:44:37 GMT 2023


Ruben,

Scheduled import can happen to the on module with different files or
different modules.
Duplicate run checks would be custom to business rules.

When there is active import by a User for module
second import attempt would alert about the same.

Regards,
Prasad

On Fri, Aug 11, 2023 at 8:54 AM Rubén A. Estrada Orozco <rulotec1 at gmail.com>
wrote:

> Hi everyone,
>
> We've been working with records migration for a client and found out that,
> when a scheduled import (which is used when there are more than 1k records
> in your csv) takes too long, so that the cronjob is run again and the last
> scheduled import cron task has not finished yet, then a second scheduled
> import cron task starts to run and records start getting duplicated!
>
> Vtiger should somehow detect that the crontask is already running and not
> run it again on top of the previous one. In fact other cron tasks work like
> that. I'm not sure why it is not the case with scheduled import.
>
> It's a new vtiger 7.5 install.
>
> Saludos
>
> Rubén
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20230823/d3b8bbc4/attachment.html>


More information about the vtigercrm-developers mailing list