D
Daniel Berger
Hi all,
I'm happy to announce the first (BETA) release of win32-taskscheduler.
What is it?
===========
A Ruby interface for generating, configuring or deleting tasks for the
Windows Task Scheduler (i.e. Windows' version of cron).
Where is it?
============
You can find win32-taskscheduler on the RAA or the project home page
at http://rubyforge.org/projects/win32utils
Synopsis
========
require "win32/taskscheduler"
include Win32
t = TaskScheduler.new
trigger = {
:start_year => 2004,
:start_month => 4,
:start_day => 25,
:start_hour => 23,
:start_minute => 5,
:trigger_type => TaskScheduler::MONTHLY_DOW,
:type => {
:weeks => TaskScheduler::FIRST | TaskScheduler::LAST,
:days_of_week => TaskScheduler::MONDAY | TaskScheduler::FRIDAY,
:months => TaskScheduler::APRIL | TaskScheduler::MAY
}
}
t.new_work_item("foo",trigger)
t.application_name = "notepad.exe"
t.save
Enjoy!
The Win32 Utils team
I'm happy to announce the first (BETA) release of win32-taskscheduler.
What is it?
===========
A Ruby interface for generating, configuring or deleting tasks for the
Windows Task Scheduler (i.e. Windows' version of cron).
Where is it?
============
You can find win32-taskscheduler on the RAA or the project home page
at http://rubyforge.org/projects/win32utils
Synopsis
========
require "win32/taskscheduler"
include Win32
t = TaskScheduler.new
trigger = {
:start_year => 2004,
:start_month => 4,
:start_day => 25,
:start_hour => 23,
:start_minute => 5,
:trigger_type => TaskScheduler::MONTHLY_DOW,
:type => {
:weeks => TaskScheduler::FIRST | TaskScheduler::LAST,
:days_of_week => TaskScheduler::MONDAY | TaskScheduler::FRIDAY,
:months => TaskScheduler::APRIL | TaskScheduler::MAY
}
}
t.new_work_item("foo",trigger)
t.application_name = "notepad.exe"
t.save
Enjoy!
The Win32 Utils team