Nevermind, please ignore my post.  I was looking at the wrong place, the 
task did added successfully.  It was under the "Task Scheduler Library".

Thanks...

On Thursday, April 25, 2013 10:00:52 AM UTC-4, beyonddc...@gmail.com wrote:
>
> Hi All,
>
> I created a scheduled_task resource and applied it.  Puppet claimed that 
> it did added successfully but when I go into the 'Task Scheduler' GUI, no 
> such task exist.  When I delete the same scheduled_task, Puppet found it 
> and deleted it.  Deleting the same scheduled_task twice, Puppet would do 
> nothing.  That seems to me that the task did created at the first place, 
> then how come I couldn't see it in the 'Task Scheduler' GUI (I did press 
> the refresh button in the Task Scheduler GUI).
>
> Here's the output from Puppet
> C:\ism_test>puppet apply scheduled_task.pp
> Warning: Could not retrieve fact fqdn
> Notice: /Stage[main]//Scheduled_task[scheduled_task_test]/ensure: created
> Notice: Finished catalog run in 0.88 seconds
>
> C:\ism_test>puppet apply scheduled_task.pp
> Warning: Could not retrieve fact fqdn
> Notice: /Stage[main]//Scheduled_task[scheduled_task_test]/ensure: removed
> Notice: Finished catalog run in 0.20 seconds
>
> C:\ism_test>puppet apply scheduled_task.pp
> Warning: Could not retrieve fact fqdn
> Notice: Finished catalog run in 0.17 seconds
>
> Here's the scheduled_task resource
> scheduled_task { 'scheduled_task_test' :
>     name => "DavidTest123",
>     command => 'C:\windows\system32\notepad.exe',
>     ensure => present,
>     enabled => true,
>     trigger => {
>         schedule => daily,
>         start_time => '23:00',
>     }
> }
>
> Thanks!
>
> David
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to