Skip to main content


Showing posts from August, 2013

Sitecore: Scheduler Job in Production server with SwitchMasterToWeb.config

One of our requirement is to schedule Sitecore job in Production environment. Most of the production environments will have SwitchMasterToWeb.config configuration to remove any master database traces in the configuration.

<agenttype="Sitecore.Tasks.DatabaseAgent"method="Run"interval="00:10:00"> <paramdesc="database">master</param> <paramdesc="schedule root">/sitecore/system/tasks/schedules</param> <LogActivity>true</LogActivity> </agent>
We changed this database configuration to “web” but still the job was not executed on the scheduled time.
To investigate further we used the Sitecore admin configuration page /Sitecore/admin/showconfig.aspx. Surprisingly these agent were missing in the output. We analyzed SwitchMasterToWeb configuration and commented the patch configuration to delete these agents. Agent is there in the admin configuration page and job is running on scheduled time.
In SwitchMast…

Sitecore: RunAs Different User for Admins