Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Emil Christiansen 66 posts 148 karma points
    Feb 27, 2014 @ 09:35
    Emil Christiansen
    0

    Scheduled import stops

    Hi Richard

    I have a problem on one of our customers.

    We are using CMSImport 2.3.2 and have created a Scheduled Import which runs every night at 3 o'clock.

    Occasionally the Scheduled Import is not executed - and the real problem is that when it has not run one night, the "Next run time" date is never updated - which results in that the job is never run again. You have to manually save the scheduled import job to update the "Next Run Time".

    If we do that, the import run again for weeks - sometimes months.

    I have looked in the umbracoLog and there are no errors regarding the CMSImport.

    Do we have any non manual way to trigger a restart of the job? Have you seen this behavior before - what could be causing that the task is not executet?

    The file which is imported is the same, and only som very small data changes are made each week (a phonenumber is changed etc.)

    Thanks in advance!

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Feb 27, 2014 @ 09:53
    Richard Soeteman
    0

    HI Emil,

    Try reschedule on a different time. It could be that the server has an update to install and auto reboots. When the scheduled item is executed an InProgress flag is set in the CMSImportScheduledTask table. When that flag is set it will not execute an import since CMSImport thinks an import is in progress. This is done because of webfarms executing imports more than once but will be changed in the near future since it's doing more harm than good. So set the flag to false and it should be picked up again.

    What you also can do is create a dashboard for your client where they can upload the file and trigger the import from the CMS.

    Hope this helps for now.

    Best,

    Richard

  • Emil Christiansen 66 posts 148 karma points
    May 12, 2014 @ 08:07
    Emil Christiansen
    0

    Hi again Richard

    I have tried rescheduling on a different time, but the job still stops every now and then. The problem is that is has to be manually saved before it starts again.

    Are there any near future upgrades which could solve the above?

    Thanks in advance!

    /Emil

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    May 12, 2014 @ 08:49
    Richard Soeteman
    0

    Hi Emil,

    The scheduler will be rewritten for V3. Then it doesn't rely on the Scheduled task option of Umbraco anymore. What you could try for now is to use pingdom to hit the site every x minutes so you are sure teh site is up.

    Hope this helps..

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft