Displaying 1 result from an estimated 1 matches for "background_job_to_run".
2007 Dec 29
0
(unknown)
...on.
________________________________
Designing Jobs
--------------------------------
Bj runs it''s jobs as command line applications. It ensures that
all jobs run
in RAILS_ROOT so it''s quite natural to apply a pattern such as
mkdir ./jobs
edit ./jobs/background_job_to_run
...
Bj.submit "./jobs/background_job_to_run"
If you need to run you jobs under an entire rails environment
you''ll need to
do this:
Bj.submit "./script/runner ./jobs/background_job_to_run"
Obviously "./script/runner" loads the rai...