I am accessing Sitecore from staging and configured a schedule task. Staging has the following databases configured:

master, web --> for staging
live --> db for cd1/cd2 server.

The scheduled task is working on staging but not on cd1.

How can I solve this?

1 Answer 1


This is a normal behaviour in Sitecore, you need to add agents for schedule task on CD.

You need to add in your config files :

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- adjust the value according related infrastructure -->
        <agent name="Web_Database_Agent" type="Sitecore.Tasks.DatabaseAgent" method="Run" interval="24:00:00">
            <param desc="database">web</param>
            <param desc="schedule root">/sitecore/system/tasks/schedules</param>
  • thanks for the quick reply. we have a configuration switchMasterToWeb.config would that take care for switching to web ?
    – rocky
    Commented Nov 25, 2016 at 14:18
  • yes but you need to have this configuration to run scheduling tasks Commented Nov 25, 2016 at 14:24
  • 1
    note: from what I've seen an interval value of 24:00:00 is invalid and should rather be 23:59:59 Commented Jun 27, 2018 at 15:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.