public void Execute(object state) { if (GeneralConfigInfo.Current.Notificationreserveddays > 0) { //Notices.DeleteNotice(); Notice.DeleteNotice(); } }