Displaying 5 results from an estimated 5 matches for "add_jobs".
Did you mean:
add_job
2005 Dec 29
4
Many-to-Many: Where to add the children?
I have two classes Person and Job defined as follows:
class Person < ActiveRecord::Base
:has_and_belongs_to_many jobs
def add_job(job_name)
job = Job.find_by_name(job_name) # See if this job exists
if job.nil? # If this job doesn''t exist
job = Job.new # Create a new job
job.name = job_name #
2011 Apr 18
2
Problem with resque; parent process doesn't die
I am facing problem in resque process. I have following implementation:
/config/resque_schedule.yml
add_jobs_to_queue:
cron: "15 * * * *"
class: FooJob
description: "Find results from class Bar and put on queue"
/app/jobs/foo_job.rb
class FooJob
@queue = :normal
def self.perform
Bar.add_jobs
end
end
app/models/bar.rb
class Bar
def self.add_jobs
students = fin...
2018 May 11
0
Wine release 3.8
The Wine development release 3.8 is now available.
What's new in this release (see below for details):
- Infrastructure for writing kernel driver tests.
- Support for showing file properties in the Shell browser.
- MP3 decoder as a DirectX Media Object.
- More support for the Task Scheduler.
- Support for COM aggregation in UrlMon.
- Various bug fixes.
The source is available
2007 May 21
0
cups, firefox + acrobat (getting strange output)
I think this isn't plj output. Please take a look :
document printed from Foxit Reader(PDF), all works fine:
LINK: http://img526.imageshack.us/my.php?image=digitalizar10001rw2.jpg
error_log output using Foxit Reader:
D [18/May/2007:13:27:58 -0300] cupsdAcceptClient: 9 from localhost:631 (IPv4)
D [18/May/2007:13:27:58 -0300] cupsdReadClient: 9 POST /printers/teste_ HTTP/1.1
D
2007 May 15
4
Need help with singleton worker
We have a fairly expensive task that we''d rather not schedule too many
instances of in parallel.
Couldn''t get pool_size to limit the amount of workers, and I figure
that''s hardly optimal anyway, so would like to have the work queued up
for a single named worker instead, running as soon as possible.
Using MiddleMan.schedule_worker() with :job_key does start off a