Hi all,

On a site that imports and updates nodes, the import process that is triggered by cron tends to fail sometimes. The import task remains locked until I manually unlock it. This requires me to log into the site every day and see if there's anything stuck and if so, unlock it and manually do an import.

I think it would be a lot easier if locked processes are unlocked automatically so that on the next cron, the import is attempted again. Is there a way to automatically kill zombie imports and unlock the feed importer?

Comments

AlfTheCat’s picture

Anyone have any guidance on this? I'm now having this issue every day. I've never had this problem with feeds before. Taks is stuck at xx% and I have to unlock it and manually run the import (which always works fine).

Lissy’s picture

I'am also looking for a solution how to programmatically unlock the importer in cron batch.

AlfTheCat’s picture

Hi Lissy,

Check out this thread I started in the Ultimate Cron issue queue. I'm short on time so I haven't tested the solution yet but it looks very viable to me.
https://drupal.org/node/2152335

brianbrarian’s picture

@AlfTheCat - Did you ever find a working solution? I'm having the same problem importing from a large CSV file.