{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2492","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2492/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2492/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2492/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/2492","id":101489963,"number":2492,"title":"Show Update Starts and Cycles every 1x Hour Despite being set to run at 0 (12am) and continues to run","user":{"login":"play3rZA","id":13823183,"avatar_url":"https://avatars.githubusercontent.com/u/13823183?v=3","gravatar_id":"","url":"https://api.github.com/users/play3rZA","html_url":"https://github.com/play3rZA","followers_url":"https://api.github.com/users/play3rZA/followers","following_url":"https://api.github.com/users/play3rZA/following{/other_user}","gists_url":"https://api.github.com/users/play3rZA/gists{/gist_id}","starred_url":"https://api.github.com/users/play3rZA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/play3rZA/subscriptions","organizations_url":"https://api.github.com/users/play3rZA/orgs","repos_url":"https://api.github.com/users/play3rZA/repos","events_url":"https://api.github.com/users/play3rZA/events{/privacy}","received_events_url":"https://api.github.com/users/play3rZA/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/3:%20Can't%20reproduce","name":"3: Can't reproduce","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-08-17T19:09:31Z","updated_at":"2015-08-21T00:05:35Z","closed_at":null,"body":"Hi guys,\r\n\r\nI've had a look through other issues and could not quite find one like this. Please advise if this behaviour is normal?\r\n\r\nDespite being set to 9 under \"When to update shows\" I can see that all shows that has already ran a Force Update and the subsequent Refresh will queue another Force Update an hour later.\r\nI can also see under Server Status that the Cycle Time for Show Update is set to 1h.\r\nUpdate shows on startup and Update shows on snatch are both unchecked.\r\n\r\n**Branch:** (master)\r\n**Commit hash:** (2c4bfe44c0f9a37533cfdaea3dc28fdb85cf2e4b)\r\n**Operating System:** Raspbian GNU/Linux 7 (wheezy) 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015\r\n**Python Version:** 2.7.3 (default, Mar 18 2014, 05:13:23) [GCC 4.6.3]\r\n**What I did:** Changed \"When to update shows\" from 3 to 9 and restarted SR to try and replicate\r\n**What happened:**\r\n**1.** All shows queue a Force Update at 9am as expected\r\n**2.** Shows that finish queue a Refresh at the back of the queue as expected\r\n**3.** At 5pm any show that's done with Force Update and Refresh will queue another Force Update\r\n**4.** Repeat\r\n\r\nThe reason why it only queued new Force Updates at 5pm is because I have 84 shows and it takes just over 3 minutes per show to Force Update.\r\n\r\nWhen I had a look at the Server Status I could see that the Cycle Time for Show Update is set to 1h. The start time is correct at 09:00:00 and the next run is also timed to only run again at 09:00:00, but if I look at the Last Run section it shows that it ran on the last hour. Exactly the same time as when the new Force Update queues started.\r\n\r\nNote that only shows that has completed a Force Update and the Refresh that get queued after completing the Force Update will queue another Force Update on that hour. No show has more than 1x Force Update or more than 1x Refresh queued, but it is constantly queuing whatever finished in the previous hour.\r\n\r\nThe reason why this is an issue for me is that it is causing unnecessary strain on my Raspberry Pi CPU.\r\n\r\nToday after seeing new shows added again at 5pm I decided to change the time to 0 (12am) and restart SR again to get proper logs etc. (This was at 19:44)\r\nThis time however I saw that Force Updates have been queued at 8pm after no activity from 19:46 when SR started up)\r\n\r\nIt seems as if it has an infinite loop of Force Updating & Refreshing shows which causes a lot of strain on my Raspberry Pi CPU.\r\n\r\nSee logs:\r\nhttps://gist.github.com/play3rZA/1d0b583f3cdc4a9e36d4#file-logs\r\n\r\n![image](https://cloud.githubusercontent.com/assets/13823183/9313429/40036b48-4523-11e5-980d-32af759cdaf1.png)\r\n"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/133222645","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/2492#issuecomment-133222645","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2492","id":133222645,"user":{"login":"miigotu","id":390379,"avatar_url":"https://avatars.githubusercontent.com/u/390379?v=3","gravatar_id":"","url":"https://api.github.com/users/miigotu","html_url":"https://github.com/miigotu","followers_url":"https://api.github.com/users/miigotu/followers","following_url":"https://api.github.com/users/miigotu/following{/other_user}","gists_url":"https://api.github.com/users/miigotu/gists{/gist_id}","starred_url":"https://api.github.com/users/miigotu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miigotu/subscriptions","organizations_url":"https://api.github.com/users/miigotu/orgs","repos_url":"https://api.github.com/users/miigotu/repos","events_url":"https://api.github.com/users/miigotu/events{/privacy}","received_events_url":"https://api.github.com/users/miigotu/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T00:05:35Z","updated_at":"2015-08-21T00:05:35Z","body":"\"Blasted thing. What I wouldn't give for a good old-fashioned tumor-inducing cell phone.\"\r\n\r\n\"You say that as if we're not carrying enough technology that can bend space and time into a mobius strip.\""}}