Need hide execution window on Windows Scheduled Tasks

44 views
Skip to first unread message

Jesus Vte. Vila

unread,
Mar 15, 2016, 11:53:32 AM3/15/16
to Puppet Users
Hi, I'm using Puppet Agent 1.3.5 on Windows Server 2008 and 2012.

When I create a Scheduled Task, it creates correctly but every time task is running, it shows the task screen. If the task is running every 5 minutes it's annoying.

I've observed Puppet Agent, create task and in the properties, in the part "Configure for" is selected "Windows Server 2003, Windows XP o Windows 2000"

If i change this for "Windows Vista or Windows 2008" the window of the running task is hidden :-) but when agent run again, it changes again to Windows 2003 ....

What can i do?

Thanks .

Felix Frank

unread,
Mar 23, 2016, 7:42:01 PM3/23/16
to puppet...@googlegroups.com
Hi,

if Puppet does not allow you to specify this preference, you could file
it as a feature request.

https://tickets.puppetlabs.com/

The Windows devs at PL are quite crafty, you might get a patch faster
than you think ;-)

Cheers,
Felix ( - throwing friends under the bus since 2013 )

Rob Reynolds

unread,
Mar 24, 2016, 2:39:55 PM3/24/16
to puppet...@googlegroups.com
On Wed, Mar 23, 2016 at 6:43 PM, Felix Frank <Felix...@alumni.tu-berlin.de> wrote:
Hi,

if Puppet does not allow you to specify this preference, you could file it as a feature request.

https://tickets.puppetlabs.com/




The Windows devs at PL are quite crafty, you might get a patch faster than you think ;-)

Cheers,
Felix ( - throwing friends under the bus since 2013 )

Nice signature. 
 


On 03/15/2016 12:16 PM, Jesus Vte. Vila wrote:
Hi, I'm using Puppet Agent 1.3.5 on Windows Server 2008 and 2012.

When I create a Scheduled Task, it creates correctly but every time task is running, it shows the task screen. If the task is running every 5 minutes it's annoying.

This doesn't seem right and isn't in line with how we've seen it work. Perhaps it is a setting you are using that is causing this? Can you specify what your manifest looks like?

 

I've observed Puppet Agent, create task and in the properties, in the part "Configure for" is selected "Windows Server 2003, Windows XP o Windows 2000"

If i change this for "Windows Vista or Windows 2008" the window of the running task is hidden :-) but when agent run again, it changes again to Windows 2003 ....

We are considering support for v2 scheduled tasks, but right now it needs to be at the level we originally supported. Now that Puppet Agent has removed Windows 2003 support in the latest versions of Puppet we have more options to move forward with v2. We have been discussing this internally, but I don't have anything to share about it yet.

Here are the known Scheduled_Task tickets[1]. You can file a ticket requesting this under the PUP project[2] and we can start a public discussion if you feel this is a priority for us to address.


 

What can i do?

Thanks .

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/56F32A21.3020102%40Alumni.TU-Berlin.de.

For more options, visit https://groups.google.com/d/optout.



--
Rob Reynolds
Developer, Puppet Labs


PuppetConf 2016
October 17-21San Diego, California
Early Birds save $350 - Register by June 30th

Jesus Vte. Vila

unread,
Mar 29, 2016, 8:57:44 AM3/29/16
to Puppet Users
Can you specify what your manifest looks like? Yes

scheduled_task { $titulo_tarea_mantenimiento:
   ensure => present,
   enabled => true,
   command => $lineaComandos,
   user => $usuario,
   password => $contrasena,
   arguments => $parametros_mantenimiento,
   trigger   => {
     schedule => daily,
     every => 1,
     start_date => '2016-01-01',
     start_time => '03:00',
   }, 
Reply all
Reply to author
Forward
0 new messages