[Win32utils-devel] Implementing a TaskScheduler#exists? method
phasis at gmail.com
Tue Jun 16 21:46:57 EDT 2009
2009/6/17 Daniel Berger <djberg96 at gmail.com>:
> I'd like to add TaskScheduler#exists?(work_item) to the win32-taskscheduler
> library. Mostly I want it for testing, but it might come in handy for other
> people as well.
> What's the best way to approach this? Just enumerate the tasks, and check
> for the name?
I think the best way to check taskscheduler item is just go to the
Scheduled Tasks folder (in most case c:\winodws\tasks) and see the
You can write it with ruby like this:
BTW, Do you mind I write pure ruby taskscheduler?
More information about the win32utils-devel