search for: new_work_item

Displaying 3 results from an estimated 3 matches for "new_work_item".

2004 Jul 31
3
Bug in new_work_item
Hi all, Windows 2000 Ruby 1.8.2 R7 VC++ 6.0 I noticed that if I try to call new_work_item and give the task a name that already exists, I get a segfault: C:\eclipse\workspace\win32-taskscheduler>ruby test.rb "0.1.0" test.rb:22:in `new_work_item'': NewWorkItem() function failed (Win32::TaskSchedul erError) from test.rb:22 test.rb:22: [BUG] Segmentation fault...
2008 Jan 13
1
Pointer bug in win32-taskscheduler?
Hi all, I thought this was strange: ts = TaskScheduler.new ts.new_work_item(''foo'', trigger) p ts.status ts.save p ts.status # null pointer (ts_get_status) I noticed that in the ts_save function in taskscheduler.c we''re doing this at line 278: ptr->pITask->Release(); ptr->pITask = NULL; At first I thought this was a mistake but it loo...
2004 Feb 21
1
win32-taskscheduler thoughts
...duler.h. The method names are now more Ruby-like (though I have to change a couple yet), and I''ve shortened the constant names, as well as moved the constants over to the .h file. I was thinking we should merge a few of these methods. I think "set_target_computer" and "new_work_item" could both be rolled into the "new" method so that you would have something like: TaskScheduler.new(name,triggers,machine=localhost) What do you think? Dan _________________________________________________________________ Click, drag and drop. My MSN is the simple way to design...