{"action":"created","issue":{"url":"https://api.github.com/repos/fluentscheduler/FluentScheduler/issues/106","repository_url":"https://api.github.com/repos/fluentscheduler/FluentScheduler","labels_url":"https://api.github.com/repos/fluentscheduler/FluentScheduler/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/fluentscheduler/FluentScheduler/issues/106/comments","events_url":"https://api.github.com/repos/fluentscheduler/FluentScheduler/issues/106/events","html_url":"https://github.com/fluentscheduler/FluentScheduler/issues/106","id":178230936,"number":106,"title":"Please help me answer， I plan to doubt","user":{"login":"wangli19","id":22094293,"avatar_url":"https://avatars.githubusercontent.com/u/22094293?v=3","gravatar_id":"","url":"https://api.github.com/users/wangli19","html_url":"https://github.com/wangli19","followers_url":"https://api.github.com/users/wangli19/followers","following_url":"https://api.github.com/users/wangli19/following{/other_user}","gists_url":"https://api.github.com/users/wangli19/gists{/gist_id}","starred_url":"https://api.github.com/users/wangli19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangli19/subscriptions","organizations_url":"https://api.github.com/users/wangli19/orgs","repos_url":"https://api.github.com/users/wangli19/repos","events_url":"https://api.github.com/users/wangli19/events{/privacy}","received_events_url":"https://api.github.com/users/wangli19/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-21T02:39:52Z","updated_at":"2016-09-22T02:35:20Z","closed_at":"2016-09-22T02:35:20Z","body":"\r\nRegister in Application_Start  \r\n\r\n![image](https://cloud.githubusercontent.com/assets/22094293/18695828/00e8fe14-7fe7-11e6-9fcf-b168213521de.png)\r\n\r\n          foreach (var itemtiming in strTiming.Split(','))\r\n                            {\r\n                                var arr = itemtiming.Split(':');\r\n                                int hour = Int32.Parse(arr[0]);\r\n                                int minutes = Int32.Parse(arr[1]);\r\n                                TimingPlan(info, type, instance, strKey, hour, minutes);\r\n                            }\r\n\r\npublic void TimingPlan(MemberInfo info, Type type, object instance, string strKey, int hour, int minutes)\r\n        {\r\n            Schedule(() =>\r\n            {\r\n                LogHelper.WriteLog(\"缓存定时执行\", \"【\" + strKey + \"】开始执行\");\r\n                try\r\n                {\r\n                    var method = type.GetMethod(info.Name, new Type[] { });\r\n                    object obj = method.Invoke(instance, null);\r\n                    var jsonStr = JsonConvert.SerializeObject(obj, new IsoDateTimeConverter { DateTimeFormat = \"yyyy/MM/dd\" });\r\n                    if (RedisHelper.Item_Set<string>(strKey, jsonStr))\r\n                    {\r\n                        LogHelper.WriteLog(\"缓存定时执行\", \"【\" + strKey + \"】执行完成\");\r\n                    }\r\n                    else\r\n                    {\r\n                        LogHelper.WriteLog(\"缓存定时执行\", \"【\" + strKey + \"】执行失败\");\r\n                    }\r\n                }\r\n                catch (Exception e)\r\n                {\r\n                    LogHelper.WriteLog(\"缓存定时执行\", \"【\" + strKey + \"】执行异常：\" + e.Message + \"\\r\\n\" + e.StackTrace + \"\\r\\n\");\r\n                }\r\n            }).WithName(\"RedisCache\").ToRunEvery(1).Days().At(hour, minutes);\r\n        }\r\n\r\n\r\n1.请问程序启动了之后，计划任务会每天的多个时间都会执行吗\r\n1 after the program is started, the planning task will be executed every day, more than a day\r\n\r\n2"},"comment":{"url":"https://api.github.com/repos/fluentscheduler/FluentScheduler/issues/comments/248795641","html_url":"https://github.com/fluentscheduler/FluentScheduler/issues/106#issuecomment-248795641","issue_url":"https://api.github.com/repos/fluentscheduler/FluentScheduler/issues/106","id":248795641,"user":{"login":"tallesl","id":3655047,"avatar_url":"https://avatars.githubusercontent.com/u/3655047?v=3","gravatar_id":"","url":"https://api.github.com/users/tallesl","html_url":"https://github.com/tallesl","followers_url":"https://api.github.com/users/tallesl/followers","following_url":"https://api.github.com/users/tallesl/following{/other_user}","gists_url":"https://api.github.com/users/tallesl/gists{/gist_id}","starred_url":"https://api.github.com/users/tallesl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tallesl/subscriptions","organizations_url":"https://api.github.com/users/tallesl/orgs","repos_url":"https://api.github.com/users/tallesl/repos","events_url":"https://api.github.com/users/tallesl/events{/privacy}","received_events_url":"https://api.github.com/users/tallesl/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T02:35:20Z","updated_at":"2016-09-22T02:35:20Z","body":"Hi @wangli19 \r\n\r\nI'm afraid that I'm unable to grasp what you mean... sorry!"}}
{"actor":{"display_login":"tallesl"}}