Bugs: Browse | Submit New | Admin

[#27974] Running the example rdoc README code snippet to create a new task does not work

Date:
2010-03-16 12:41
Priority:
3
Submitted By:
Innes MacKenzie (innesm)
Assigned To:
Daniel Berger (djberg96)
Category:
win32-taskscheduler
State:
Closed
Summary:
Running the example rdoc README code snippet to create a new task does not work

Detailed description
I ran the example code given in the documentation's README, to create a new task. However, although a .job file appeared
in \windows\tasks, the new task wasn't displayed in windows' Task Scheduler GUI.

On my machine, it appears that an XML file must be present in \windows\system32\tasks for a task to appear in the GUI.

I found some information on the MS site about new features in 'Task Scheduler 2.0' including the addition of an XML
format for defining tasks.

Version: win32-taskscheduler 0.2.0
OS: Windows7
Ruby: ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]

Add A Comment: Notepad

Please login


Followup

Message
Date: 2014-01-14 22:52
Sender: Daniel Berger

The latest code will work on Vista and later. Look for 0.3.0
very soon. Closing.
Date: 2010-03-17 13:33
Sender: Daniel Berger

The current taskscheduler code will not work on Vista or later.
We're working on a new release that will work on all Windows
platforms.

Regards,

Dan
Date: 2010-03-17 13:21
Sender: Innes MacKenzie

Does seem to be a Windows7 (Or >Vista) problem. The code 
sample worked okay on a Server 2003 box.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
close_date2014-01-14 22:522014-01-14 22:52djberg96
assigned_tonone2014-01-14 22:52djberg96
artifact_group_idNone2014-01-14 22:52djberg96
resolution_idNone2014-01-14 22:52djberg96
status_idOpen2014-01-14 22:52djberg96