[chef] Windows Scheduled Tasks LWRP


Chronological Thread 
  • From: David Leaver < >
  • To: " " < >
  • Subject: [chef] Windows Scheduled Tasks LWRP
  • Date: Mon, 11 Jul 2011 04:08:28 +0000
  • Accept-language: en-NZ, en-US

Hi All.

 

Here is another basic LWRP for Windows, this time scheduled tasks!

https://github.com/danzel/chef-cookbooks/tree/master/scheduledtask

 

It currently does just enough to create a scheduled task that repeats either daily or every X minutes. Adding in further repeat options and deleting/enabling/disabling shouldn’t be too difficult if anyone wants to add it in.

This probably won’t work correctly unless your computer language is English as it works by parsing the output of schtasks.exe

 

Cheers,
Dave.

David Leaver
Senior Software Engineer

DDI +64 7 857 0805 |  M +64 21 876684 |  E ">   |  T +64 7 857 0800  F +64 7 857 0801
Waikato Innovation Park, Ruakura Rd  |  PO Box 7239, Hamilton 3247, NZ |  www.smartrak.co.nz

Description: smartrak_banner

This email and any attachments are confidential and are for the intended addressee(s) only.  Confidentiality is not waived due to accidental delivery to you. If you have received this communication erroneously, please delete.

 




Archive powered by MHonArc 2.6.16.

§