public override void SchedulerError(string msg, SchedulerException cause)
 {
     entries.Add(new LogEntry(string.Format("Scheduler error: <pre>{0}</pre><br/><pre>{1}</pre>",
                                            HttpUtility.HtmlEncode(msg),
                                            HttpUtility.HtmlEncode(cause.ToString()))));
 }