Scheduler - Skypping inactive agent
is generated by Sitecore.Task.Scheduler.ReadAgents class
private static Scheduler.Agent[] ReadAgents()
{
Log.Info("Scheduler - Adding agents", typeof(Scheduler));
try
{
ArrayList arrayList = new ArrayList();
XmlNodeList configNodes = Factory.GetConfigNodes("scheduling/agent");
foreach (XmlNode xmlNode in configNodes)
{
try
{
object obj = Factory.CreateObject(xmlNode, true);
string @string = StringUtil.GetString(new string[]
{
XmlUtil.GetAttribute("method", xmlNode),
"Execute"
});
TimeSpan timeSpan = DateUtil.ParseTimeSpan(XmlUtil.GetAttribute("interval", xmlNode), TimeSpan.FromSeconds(0.0), CultureInfo.InvariantCulture);
string string2 = StringUtil.GetString(new string[]
{
XmlUtil.GetAttribute("name", xmlNode),
obj.GetType().FullName
});
bool @bool = MainUtil.GetBool(XmlUtil.GetAttribute("async", xmlNode), false);
if (timeSpan.TotalSeconds > 0.0)
{
Log.Info(string.Concat(new object[]
{
"Scheduler - Adding agent: ",
string2,
" (interval: ",
timeSpan,
")"
}), typeof(Scheduler));
Scheduler.Agent value;
if (@bool)
{
value = new Scheduler.AsyncAgent(string2, obj, @string, timeSpan, Scheduler.m_startTime);
}
else
{
value = new Scheduler.Agent(string2, obj, @string, timeSpan, Scheduler.m_startTime);
}
arrayList.Add(value);
}
else
{
Log.Info("Scheduler - Skipping inactive agent: " + string2, typeof(Scheduler));
}
}
catch (Exception exception)
{
Log.Error("Error while instantiating agent. Definition: " + xmlNode.OuterXml, exception, typeof(Scheduler));
}
}
Log.Info("Scheduler - Agents added", typeof(Scheduler));
return arrayList.ToArray(typeof(Scheduler.Agent)) as Scheduler.Agent[];
}
catch (Exception exception2)
{
Log.Error("Error while reading agents.", exception2, typeof(Scheduler));
}
return null;
}
On sitecore code it reads the interval and test if the value is not 00:00 :
TimeSpan timeSpan = DateUtil.ParseTimeSpan(XmlUtil.GetAttribute("interval", xmlNode), TimeSpan.FromSeconds(0.0), CultureInfo.InvariantCulture);
if (timeSpan.TotalSeconds > 0.0)
{
// sitecore code
}
else
{
//if interval is 0 it skips the agent
Log.Info("Scheduler - Skipping inactive agent: " + string2, typeof(Scheduler));
}
Please have a look to your config files using : yourhost/sitecore/admin/showconfig.aspx and verify the value of interval. I recommend to change the value from 00:60:00 to 00:59:59