search for: taskschedul

Displaying 17 results from an estimated 17 matches for "taskschedul".

Did you mean: taskschedule
2011 May 17
5
has_many through question
hi there, i thing i just have a logical problem. i have following models. class Area < ActiveRecord::Base belongs_to :taskschedule belongs_to :service end class Service < ActiveRecord::Base has_many :taskschedules, :through => :areas has_many :areas end class Taskschedule < ActiveRecord::Base has_many :services, :through => :areas has_many :areas end Following View Taskschedule#new <h2>New Tasksche...
2008 Jan 12
2
win32-taskscheduler and TaskScheduler#account_information
Hi, This library has needed some work for a while, so I''m finally getting around to it. I''ve made some changes and updates in CVS, so grab the latest source to test the issue below. The first issue I''d like to tackle is why the TaskScheduler#account_information (GetAccountInformation) method fails if there''s no user associated with a given task. The docs say it should return one of four values: http://msdn2.microsoft.com/en-us/library/aa381228.aspx In practice I would simply expect an empty string. But what I''m...
2006 Mar 26
5
[ win32utils-Bugs-3924 ] Segmentation fault under Windows
Bugs item #3924, was opened at 26/03/2006 22:12 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=3924&group_id=85 Category: win32-taskscheduler Group: Code Status: Open Resolution: None Priority: 3 Submitted By: David FAROI (dfaroi) Assigned to: Nobody (None) Summary: Segmentation fault under Windows Initial Comment: I''m trying to make something like this: require ''win32/taskscheduler'' include Win32 puts `xc...
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 w...
2008 Jan 13
0
TaskScheduler#active? and TaskScheduler#exists?
Hi all, I think I would like to add the TaskScheduler#active? and TaskScheduler#exists? methods. I''m not sure how they should be implemented however. For TaskScheduler#exists? I suppose I could use the IEnumWorkItems and iterated over the list. Is there a better way? The TaskScheduler#active? would just tell me if a given task has been...
2004 Feb 21
1
win32-taskscheduler thoughts
I''ve updated taskscheduler.c and taskscheduler.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...
2004 Apr 02
2
Futzing with TaskScheduler
Hi all, Thought I should say something - it''s been a little while. :) Anyway, I''m still futzing with how I want the Ruby API to look. The more I look at the Perl version, the more I think it was too faithful to the C API. Right now I''m looking at the trigger() method. For example, I don''t see any reason to make the "type" key take a hash as an
2005 Sep 04
1
Fwd: Win32 Utils TaskScheduler
...__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An embedded message was scrubbed... From: Scott Harper <sharperct@gmail.com> Subject: Win32 Utils TaskScheduler Date: Sun, 4 Sep 2005 17:04:24 -0400 Size: 4971 Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20050904/8c7914f1/attachment.eml
2004 Apr 24
5
win32-taskscheduler alpha
Well, I''m going to release the first version of win32-taskscheduler today. For now, I''ve kept the API about the same as it originally was because I was spending way too much time futzing around and I wanted to get something out the door. For now, I''m calling this a BETA release, with the API subject to change. See the ''Future Pla...
2005 Feb 14
8
DONT_RESOLVE_DLL_REFERENCES info
For future reference, it looks like we should avoid DONT_RESOLVE_DLL_REFERENCES in any extensions. http://weblogs.asp.net/oldnewthing/archive/2005/02/14/372266.aspx Regards, Dan
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 ruby 1.8.2 (2004-07-29) [i386-mswin32] abnormal program termination Here''s test.rb: requir...
2008 May 11
3
converting a RSTRING to an OLESTR
Hi, I was going to modify the TaskScheduler#save method to take an optional file name. But, I need to convert a Ruby string to an OLE string. I thought I could use this: http://msdn.microsoft.com/en-us/library/ms692615(VS.85).aspx But, it only appears to accept literal string constants. Any other suggestions? Thanks, Dan
2005 Feb 01
0
Some updates and questions on Takaaki''s problems
...onf.rb and source files and released win32-file 0.4.2 tonight. That *should* solve that problem. As for win32-shortcut, I''m not sure why it doesn''t like IID_IPersistFile, or if that''s even the problem. Is it possible this only works on Win2k and later? Regarding win32-taskscheduler, I''m not sure what to make of it. The MSDN docs say for NewWorkItem(), "Requires Windows XP, Windows 2000 Professional, Windows Me, or Windows 98." for the Client. So, did they skip NT 4? Any insight is welcome. Dan __________________________________ Do you Yahoo!?...
2014 Jan 03
0
Wine release 1.7.10
...in 1.7.10 (total 48): 3542 Dungeon Keeper Gold not starting 4633 Garmin MapSource 6.x crashes during attempt to communicate with GPS device 6833 AIM Pro fails to load 'apExtCmp.dll' (MSVCRT_ungetc write operation on read-only section/mapping) 8549 lsTasks tool fails due to ITaskScheduler::SetTargetComputer stub 10911 Jumpstart Mystery Club download manager doesn't work 13407 The Bat! Voyager fails to accept the master password 13982 Multiple Realarcade installers fail on startup, complaining with COM/LUA scripting errors (need IFileSystem3::GetFolder method implement...
2011 Nov 01
0
Announce: Puppet 2.7.7rc1 available
...;touch'' method enabling tests to run on Windows ca0bc4f Change test to not call ''rm -rf'' 1883455 Remove ''fails_on_windows'' tag for passing tests 0d7c797 (#8414) Create scheduled_task type for use with Windows scheduled tasks 4ddef89 (#8414) Require win32-taskscheduler gem on Windows 0ecf3ab Add ability to look up fully qualified local accounts using Puppet::Util::Adsi.sid_for_account 23d5aeb Add support for displaying hashes to Puppet::Parameter.format_value_for_display f0c3414 Move parameter formatting rules into helper method 845e05b Wrap long lines in Type:...
2008 Jul 25
0
Wine release 1.1.2
...plement RpcCancelThreadEx. rpcrt4: Fix the memory pointer passed into the conformant array marshaller in NdrComplexStructMarshall. Roy Shea (4): mstask: Skeleton implementation of Task Scheduler Service. mstask: Generate C file with GUID definitions from mstask.idl. mstask: TaskScheduler stub with AddRef, QueryInterface, and Release. mstask: Implement ClassFactory, DllGetClassObject, and DllCanUnloadNow. Stefan D?singer (41): wined3d: Remove the atifs shader backend. wined3d: NP2 coordinate adjustment is a vertex operation. wined3d: Move fixed function te...
2011 Dec 01
3
Announce: Puppet 2.7.8rc1 available
...;touch'' method enabling tests to run on Windows ca0bc4f Change test to not call ''rm -rf'' 1883455 Remove ''fails_on_windows'' tag for passing tests 0d7c797 (#8414) Create scheduled_task type for use with Windows scheduled tasks 4ddef89 (#8414) Require win32-taskscheduler gem on Windows 0ecf3ab Add ability to look up fully qualified local accounts using Puppet::Util::Adsi.sid_for_account 23d5aeb Add support for displaying hashes to Puppet::Parameter.format_value_for_display f0c3414 Move parameter formatting rules into helper method 845e05b Wrap long lines in Type:...