similar to: Fwd: Win32 Utils TaskScheduler

Displaying 20 results from an estimated 100 matches similar to: "Fwd: Win32 Utils TaskScheduler"

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
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
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
2006 Mar 21
5
Use select_date for my model?
Hi all I have a model "party" that has a time field "starts_at". I have created a form to add new instances of this model. <%= select_date Date.today, :prefix => ''party'' %> Sadly I get the error: NoMethodError in Parties#add undefined method `month='' for #<Party:0x256a600> How can I fix this problem? I remember that I saw in
2006 Jan 07
4
set date with date_select
when retreiving a date from a DATETIME field in a database, is there a way to set the date to the value of the DB in the view? It seems to always default to the current date... if I have a field called birthdate in the users table and i do @user = User.find(@params[:id]) in my view i have a <%= date_select ''birthdate'',''user'' %> but dont know how to
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 activated or not, but I''m not sure
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 looks like it''s
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" and "new_work_item" could both be rolled into the
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 Plans'' section of
2006 Jun 18
0
[ win32utils-Bugs-4699 ] Service dependencies are not being created properly
Bugs item #4699, was opened at 2006-06-07 19:21 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4699&group_id=85 Category: win32-service Group: Code >Status: Closed >Resolution: Accepted Priority: 3 Submitted By: Scott Harper (sharperct) Assigned to: Park Heesob (phasis68) Summary: Service dependencies are not being created properly Initial
2005 Oct 12
1
[ win32utils-Support Requests-2614 ] warning: redefining constant Struct::Win32ServiceStatus
Support Requests item #2614, was opened at 2005-10-12 10:23 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85 Category: win32-service Group: None Status: Open Resolution: None Priority: 3 Submitted By: Scott Harper (sharperct) Assigned to: Nobody (None) Summary: warning: redefining constant Struct::Win32ServiceStatus Initial
2013 Apr 20
7
Reshape or Plyr?
H all, I have relative abundance data from >100 sites. This is from acoustic monitoring and usually the data is for 2-3 nights but in some cases my be longer like months or years for each location.. The data output from my management data base is proved by species by night for each location so data frame would look like this below. What I need to do is sum the Survey_time by Spec_Code for
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
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
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
2007 Mar 05
2
Scheduled workers only run once unless you call self.delete inside the worker
I had a worker scheduled to run every minute with backgroundrb_schedules.yml: ebay_runner: :class: :ebay_auction_worker :job_key: :ebay_auction_runner :trigger_type: :cron_trigger :trigger_args: 0 * * * * * * This worker posts an auction to eBay from a queue of auctions every minute. I was having a problem where the worker would run ok the first time, but never any subsequent minutes
2005 Feb 01
0
Some updates and questions on Takaaki''s problems
Hi all, I think I''ve narrowed down the problem with win32-file. It appears that EncryptFile() and DecryptFile are only supported on Win2k or later. So, I made some minor modifications to the extconf.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
2014 Jan 03
0
Wine release 1.7.10
The Wine development release 1.7.10 is now available. What's new in this release (see below for details): - Window maximization in the Mac driver. - AVI compressor implementation. - Thread local storage support in dynamically loaded libraries. - Beginnings of a Task Scheduler implementation. - Extended IPX protocol support. - Various bug fixes. The source is available from the
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
2007 Mar 13
3
Scheduled worker dies after about 30-45 runs
I have a scheduled worker that runs every minute, checking for new eBay auctions to post. If it finds an auction, then it posts it. If there are no auctions in the database that are queued up, it simply does nothing. I got the worker to finally run as a scheduled worker, every minute. However, after about 30-45 scheduled runs, it simply stops running. My backgroundrb_schedules.yml file: ------