public void Execute(IJobExecutionContext context) { OrderConfirmationService.DeleteExpired(); RecentlyViewService.DeleteExpired(); InternalServices.DeleteExpiredAppRestartLogData(); Secure.DeleteExpiredAuthorizeLog(); //FileHelpers.DeleteCombineCssJs(true); //FileHelpers.DeleteCombineCssJs(false); }
public void Execute(IJobExecutionContext context) { ShoppingCartService.DeleteExpiredShoppingCartItems(DateTime.Today.AddMonths(-3)); OrderConfirmationService.DeleteExpired(DateTime.Today.AddMonths(-3)); RecentlyViewService.DeleteExpired(); InternalServices.DeleteExpiredAppRestartLogData(); Secure.DeleteExpiredAuthorizeLog(); //JsCssTool.Clear(); }