{"action":"created","issue":{"url":"https://api.github.com/repos/node-schedule/node-schedule/issues/471","repository_url":"https://api.github.com/repos/node-schedule/node-schedule","labels_url":"https://api.github.com/repos/node-schedule/node-schedule/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/node-schedule/node-schedule/issues/471/comments","events_url":"https://api.github.com/repos/node-schedule/node-schedule/issues/471/events","html_url":"https://github.com/node-schedule/node-schedule/issues/471","id":378999870,"node_id":"MDU6SXNzdWUzNzg5OTk4NzA=","number":471,"title":"【Bug】schedule.scheduleJob executed twice","user":{"login":"HuMoran","id":25628402,"node_id":"MDQ6VXNlcjI1NjI4NDAy","avatar_url":"https://avatars2.githubusercontent.com/u/25628402?v=4","gravatar_id":"","url":"https://api.github.com/users/HuMoran","html_url":"https://github.com/HuMoran","followers_url":"https://api.github.com/users/HuMoran/followers","following_url":"https://api.github.com/users/HuMoran/following{/other_user}","gists_url":"https://api.github.com/users/HuMoran/gists{/gist_id}","starred_url":"https://api.github.com/users/HuMoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuMoran/subscriptions","organizations_url":"https://api.github.com/users/HuMoran/orgs","repos_url":"https://api.github.com/users/HuMoran/repos","events_url":"https://api.github.com/users/HuMoran/events{/privacy}","received_events_url":"https://api.github.com/users/HuMoran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-09T02:39:39Z","updated_at":"2018-11-21T08:17:04Z","closed_at":null,"author_association":"NONE","body":"AWS Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-116-generic x86_64)\r\nnode: v8.11.1\r\nnode-schedule:  1.2.4\r\n\r\nmy code：\r\n```js\r\n// Everyday 0:00, generater new tasks\r\nconst rule = new schedule.RecurrenceRule();\r\nrule.hour = 0;\r\nrule.minute = 0;\r\nrule.second = 0;\r\nschedule.scheduleJob(rule, () => {\r\n  console.log('Recurrence job start');\r\n  getTaskRules();\r\n});\r\n```\r\nmy log:\r\n![image](https://user-images.githubusercontent.com/25628402/48239266-3af87480-e409-11e8-83f7-8122022ee51b.png)\r\n![image](https://user-images.githubusercontent.com/25628402/48239345-798e2f00-e409-11e8-93e6-3dfc7df8f217.png)\r\n![image](https://user-images.githubusercontent.com/25628402/48239376-99255780-e409-11e8-834f-84ead195197b.png)\r\nPrevious log is ok too!\r\n![image](https://user-images.githubusercontent.com/25628402/48239431-cffb6d80-e409-11e8-94c5-0d0bd6c9f2f3.png)\r\nserver no restart,  no error:\r\n![image](https://user-images.githubusercontent.com/25628402/48239641-9ecf6d00-e40a-11e8-96d6-f798d7bb7007.png)\r\n\r\nI have encountered this problem a few months ago, I just restarted the server, it works fine!\r\nbut now，it is coming again!\r\n"},"comment":{"url":"https://api.github.com/repos/node-schedule/node-schedule/issues/comments/440575173","html_url":"https://github.com/node-schedule/node-schedule/issues/471#issuecomment-440575173","issue_url":"https://api.github.com/repos/node-schedule/node-schedule/issues/471","id":440575173,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDU3NTE3Mw==","user":{"login":"mreis1","id":1719667,"node_id":"MDQ6VXNlcjE3MTk2Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/1719667?v=4","gravatar_id":"","url":"https://api.github.com/users/mreis1","html_url":"https://github.com/mreis1","followers_url":"https://api.github.com/users/mreis1/followers","following_url":"https://api.github.com/users/mreis1/following{/other_user}","gists_url":"https://api.github.com/users/mreis1/gists{/gist_id}","starred_url":"https://api.github.com/users/mreis1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreis1/subscriptions","organizations_url":"https://api.github.com/users/mreis1/orgs","repos_url":"https://api.github.com/users/mreis1/repos","events_url":"https://api.github.com/users/mreis1/events{/privacy}","received_events_url":"https://api.github.com/users/mreis1/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T08:17:04Z","updated_at":"2018-11-21T08:17:04Z","author_association":"NONE","body":"Also affects versions 1.3.0.\r\nTested on both, mac os and windows 10."}}
{"actor":{"display_login":"mreis1"}}