search for: trigger_typ

Displaying 7 results from an estimated 7 matches for "trigger_typ".

Did you mean: trigger_type
2011 Jan 10
3
[PATCH] libxl: implement trigger s3resume
...way: using an ACPI state change. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> diff -r 1ae74f060a39 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Mon Jan 10 10:37:53 2011 +0000 +++ b/tools/libxl/libxl.c Mon Jan 10 10:58:50 2011 +0000 @@ -2668,8 +2668,14 @@ static int trigger_type_from_string(char int libxl_send_trigger(libxl_ctx *ctx, uint32_t domid, char *trigger_name, uint32_t vcpuid) { int rc = -1; - int trigger_type = trigger_type_from_string(trigger_name); - + int trigger_type = -1; + + if (!strcmp(trigger_name, "s3resume")) { + xc_set...
2004 Apr 02
2
Futzing with TaskScheduler
...artX". I''m just going to use "start". So for now I''m looking at something like this: t = Trigger.new(task_name,some_host) t.trigger = { :start_year => 2004 :start_month => 4 :start_day => 25 :start_hour => 23 :start_minute => 5 :trigger_type => DAILY :week => FIRST | LAST :dow => MONDAY | TUESDAY | WEDNESDAY :months => JANUARY | FEBRUARY | MARCH } How''s that look? Dan _________________________________________________________________ MSN Toolbar provides one-click access to Hotmail from any Web page – F...
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 after that. The way I fixed it was adding a call to self.delete at the en...
2004 Jul 31
3
Bug in new_work_item
...t.rb: require "win32/taskscheduler" include Win32 p TaskScheduler::VERSION trigger = { "start_year" => 2009, "start_month" => 4, "start_day" => 11, "start_hour" => 7, "start_minute" => 14, "trigger_type" => TaskScheduler::DAILY, "type" => { "days_interval" => 1 } } ts = TaskScheduler.new ts.new_work_item("foo",trigger) I did find two things that I thought might solve the problem but didn''t seem to help. The first is to call ptr->pIT...
2005 Sep 04
1
Fwd: Win32 Utils TaskScheduler
Note: forwarded message attached. __________________________________________________ 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:
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
2007 Mar 13
3
Scheduled worker dies after about 30-45 runs
...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: ------ ebay_runner: :class: :ebay_auction_worker :job_key: :ebay_auction_runner :trigger_type: :cron_trigger :trigger_args: 0 * * * * * * ------ My ebay_auction_worker.rb file: ------ class EbayAuctionWorker < BackgrounDRb::Rails # Set this worker to run every minute. attr_accessor :progress, :description def do_work(args) # This method is called in it''s own new t...