Exemplo n.º 1
0
        public bool RunOnEveryDayAction(Guid actionId, DateTime dateTime)
        {
            var userConnection = (UserConnection)HttpContext.Current.Session["UserConnection"];
            var jManager       = new UserSchedulerJobManager(userConnection);

            return(jManager.RunOnEveryDay(actionId, dateTime));
        }
Exemplo n.º 2
0
        public bool RunImmediateAction(Guid actionId)
        {
            var userConnection = (UserConnection)HttpContext.Current.Session["UserConnection"];
            var jManager       = new UserSchedulerJobManager(userConnection);

            return(jManager.RunImmediateAction(actionId));
        }
Exemplo n.º 3
0
        public IEnumerable <UserSchedulerJobManager.UserJobInfo> GetJobInfo()
        {
            var userConnection = (UserConnection)HttpContext.Current.Session["UserConnection"];
            var jManager       = new UserSchedulerJobManager(userConnection);

            return(jManager.GetJobInfos());
        }