{"action":"created","issue":{"url":"https://api.github.com/repos/guitarrapc/GraniResource/issues/73","repository_url":"https://api.github.com/repos/guitarrapc/GraniResource","labels_url":"https://api.github.com/repos/guitarrapc/GraniResource/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/guitarrapc/GraniResource/issues/73/comments","events_url":"https://api.github.com/repos/guitarrapc/GraniResource/issues/73/events","html_url":"https://github.com/guitarrapc/GraniResource/issues/73","id":233432451,"number":73,"title":"cScheduleTask - The RepetitionInterval and RepetitionDuration Job trigger parameters must be specified together","user":{"login":"Zuldan","id":12680150,"avatar_url":"https://avatars1.githubusercontent.com/u/12680150?v=3","gravatar_id":"","url":"https://api.github.com/users/Zuldan","html_url":"https://github.com/Zuldan","followers_url":"https://api.github.com/users/Zuldan/followers","following_url":"https://api.github.com/users/Zuldan/following{/other_user}","gists_url":"https://api.github.com/users/Zuldan/gists{/gist_id}","starred_url":"https://api.github.com/users/Zuldan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zuldan/subscriptions","organizations_url":"https://api.github.com/users/Zuldan/orgs","repos_url":"https://api.github.com/users/Zuldan/repos","events_url":"https://api.github.com/users/Zuldan/events{/privacy}","received_events_url":"https://api.github.com/users/Zuldan/received_events","type":"User","site_admin":false},"labels":[{"id":156221855,"url":"https://api.github.com/repos/guitarrapc/GraniResource/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-04T13:05:57Z","updated_at":"2017-06-04T19:19:54Z","closed_at":null,"body":"The config below for cScheduledTask worked perfectly fine in 3.7.8.1...\r\n\r\n```\r\ncScheduleTask PowershellHelpUpdateScheduledTask\r\n{\r\n    Ensure                           = 'Present'\r\n    PsDscRunAsCredential             = $Credential\r\n    TaskName                         = 'Powershell Help Update'\r\n    Runlevel                         = 'Highest'\r\n    Compatibility                    = 'Win8'\r\n    Hidden                           = $False\r\n    Disable                          = $False\r\n    Execute                          = 'powershell.exe'\r\n    Argument                         = \"-NoProfile -Command `\"Update-Help -SourcePath $($Node.PowershellHelpSource) -Module * -Force -ErrorAction SilentlyContinue`\"\"\r\n    TaskPath                         = '\\'\r\n    ScheduledAt                      = [DateTime]\"2016/02/13 $($Time.Hour):$($Time.Minute):00\" # Saturday\r\n    RepetitionIntervalTimeSpanString = [TimeSpan]::FromDays(7).ToString() # run every week\r\n    RepetitionDurationTimeSpanString = [TimeSpan]::MaxValue.ToString() # to forever\r\n}\r\n```\r\n\r\n...but in 3.7.8.3 the following error appears...\r\n\r\n```\r\nInvoke-CimMethod : PowerShell DSC resource Grani_ScheduleTask  failed to execute Set-TargetResource functionality with error message: The RepetitionInterval and RepetitionDuration Job trigger parameters must be specified together. \r\nAt C:\\LabCode\\Invoke-LabServer.ps1:20 char:5\r\n+     Invoke-CimMethod -CimSession $ServerName -Name PerformRequiredCon ...\r\n+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidOperation: (:) [Invoke-CimMethod], CimException\r\n    + FullyQualifiedErrorId : ProviderOperationExecutionFailure,Microsoft.Management.Infrastructure.CimCmdlets.InvokeCimMethodCommand\r\n    + PSComputerName        : LABSERVER01\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/guitarrapc/GraniResource/issues/comments/306060971","html_url":"https://github.com/guitarrapc/GraniResource/issues/73#issuecomment-306060971","issue_url":"https://api.github.com/repos/guitarrapc/GraniResource/issues/73","id":306060971,"user":{"login":"guitarrapc","id":3856350,"avatar_url":"https://avatars3.githubusercontent.com/u/3856350?v=3","gravatar_id":"","url":"https://api.github.com/users/guitarrapc","html_url":"https://github.com/guitarrapc","followers_url":"https://api.github.com/users/guitarrapc/followers","following_url":"https://api.github.com/users/guitarrapc/following{/other_user}","gists_url":"https://api.github.com/users/guitarrapc/gists{/gist_id}","starred_url":"https://api.github.com/users/guitarrapc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guitarrapc/subscriptions","organizations_url":"https://api.github.com/users/guitarrapc/orgs","repos_url":"https://api.github.com/users/guitarrapc/repos","events_url":"https://api.github.com/users/guitarrapc/events{/privacy}","received_events_url":"https://api.github.com/users/guitarrapc/received_events","type":"User","site_admin":false},"created_at":"2017-06-04T19:19:54Z","updated_at":"2017-06-04T19:19:54Z","body":"@Zuldan I fixed and publish ver.3.7.8.4 to PowerShell Gallery.\r\nhttps://www.powershellgallery.com/packages/GraniResource/3.7.8.4\r\n\r\nIt is appreciated if you can check at your lab. "}}
{"actor":{"display_login":"guitarrapc"}}