{"action":"created","issue":{"url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/190","labels_url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/190/comments","events_url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/190/events","html_url":"https://github.com/opscode-cookbooks/iis/issues/190","id":89109159,"number":190,"title":"IIS App Pool recycle schedule question","user":{"login":"kkennedy1","id":10552558,"avatar_url":"https://avatars.githubusercontent.com/u/10552558?v=3","gravatar_id":"","url":"https://api.github.com/users/kkennedy1","html_url":"https://github.com/kkennedy1","followers_url":"https://api.github.com/users/kkennedy1/followers","following_url":"https://api.github.com/users/kkennedy1/following{/other_user}","gists_url":"https://api.github.com/users/kkennedy1/gists{/gist_id}","starred_url":"https://api.github.com/users/kkennedy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkennedy1/subscriptions","organizations_url":"https://api.github.com/users/kkennedy1/orgs","repos_url":"https://api.github.com/users/kkennedy1/repos","events_url":"https://api.github.com/users/kkennedy1/events{/privacy}","received_events_url":"https://api.github.com/users/kkennedy1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-17T19:54:09Z","updated_at":"2015-06-17T23:29:51Z","closed_at":null,"body":"Hi,\r\n\r\nWe're using IIS cookbook 4.1.0 and have a question about the behavior of setting an app pool reschedule time.  We are using the 'recycle_at_time' setting to set it, but have found that if there multiple scheduled recycle times already configured for the app pool, they will not be cleared out before setting the value.  I *think* the desired behavior would be that if the existing scheduled time is different that what we're setting it to, or there are more than one scheduled time configured, we would want to clear out all schedules, then set the value.  Otherwise, do nothing.  I was hoping to get your thoughts on it.  We'd be happy to supply a pull request if that's the desired behavior.\r\n\r\nThanks!\r\n\r\nKevin"},"comment":{"url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/comments/112979463","html_url":"https://github.com/opscode-cookbooks/iis/issues/190#issuecomment-112979463","issue_url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/190","id":112979463,"user":{"login":"EasyAsABC123","id":1851104,"avatar_url":"https://avatars.githubusercontent.com/u/1851104?v=3","gravatar_id":"","url":"https://api.github.com/users/EasyAsABC123","html_url":"https://github.com/EasyAsABC123","followers_url":"https://api.github.com/users/EasyAsABC123/followers","following_url":"https://api.github.com/users/EasyAsABC123/following{/other_user}","gists_url":"https://api.github.com/users/EasyAsABC123/gists{/gist_id}","starred_url":"https://api.github.com/users/EasyAsABC123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EasyAsABC123/subscriptions","organizations_url":"https://api.github.com/users/EasyAsABC123/orgs","repos_url":"https://api.github.com/users/EasyAsABC123/repos","events_url":"https://api.github.com/users/EasyAsABC123/events{/privacy}","received_events_url":"https://api.github.com/users/EasyAsABC123/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T23:29:51Z","updated_at":"2015-06-17T23:29:51Z","body":"Feel free to submit! \n\nJustin Schuhmann\n\n> On Jun 17, 2015, at 6:58 PM, kkennedy1 <notifications@github.com> wrote:\n> \n> Ok great, thanks for checking, that’s what we thought. In the case that there is more than one time scheduled and the recycle time we want to set already exists, it won’t clear them out. We have a proposed fix and would like to submit a pull request. \n> \n> From: Justin Schuhmann [mailto:notifications@github.com] \n> Sent: Wednesday, June 17, 2015 4:08 PM \n> To: opscode-cookbooks/iis \n> Cc: Kevin Kennedy \n> Subject: Re: [iis] IIS App Pool recycle schedule question (#190) \n> \n> \n> yes, it appears that it should destroy any previous schedule based on: \n> \n> cmd = \"#{appcmd(node)} set config /section:applicationPools \\\"/-[name='#{new_resource.pool_name}'].recycling.periodicRestart.schedule\\\"\" \n> \n> — \n> Reply to this email directly or view it on GitHub<https://github.com/opscode-cookbooks/iis/issues/190#issuecomment-112965058>. \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}