Displaying 8 results from an estimated 8 matches for "eduardodmz".
2006 Nov 20
2
schedule support on latest svn, a question
I''m running the latest backgroundrb mainly for scheduled tasks support.
As per the documentation I created the backgroundrb_schedules.yml with
the following:
simple_label:
:class: :document_sorter_worker
:worker_method: :do_work
:job: :bleh
:trigger_args:
:start: <%= Time.now + 5.seconds %>
:end: <%= Time.now + 10.minutes
:repeat_interval: 1.minute
Under
2007 Nov 14
1
couple of questions
I''m using the latest backgroundrb. Do I need to setup a worker in
order to use it with Rails?
I remember using "Worker::RailsBase" before.
Also, how do I access the logger from within the worker?
Thanks a lot!
--
Lalo
2006 Nov 07
1
scheduled jobs with cron
I''m very interested in using backgroundrb for running jobs every n minutes.
The release notes say that this functionality is not yet ready via
backgroundrb. But I wonder, can I call backgroundrb with a ruby script
from cron ?
I know I could create a cron job that calls lynx (or whatever) on a
specific page that will call backgroundrb, but I want to know if there
other
2006 Nov 21
1
rendering from within a worker
I''m using backgroundrb for its scheduled jobs.
Now, a job that runs on a daily basis creates an xml file that I
currently create with an .rxml template.
Can I run a controller action from within a worker ? Can I render() a
template from within a worker ?
Sorry, I haven''t grasped the whole rails/backgroundrb relationship so
I don''t know what I can and not do.
Thanks
2006 Jan 12
0
Looking for RoR Developer in Monterrey, Mexico.
Partial or full-time.
Send your inquiries to eduardodmz -at- gmail.
Thanks and sorry if this is not the appropriate place to post this.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
0
[job] ruby position in Monterrey, Mexico
contesten el mail para m?s informaci?n.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 28
0
best way to handle failed updates when using REST ?
I''m playing with simply_restfuld/REST. My (test) controller has the
following actions:
index, new, create, show, edit, update, destroy
Everything is fine at the moment except on how to handle failed updates.
As I see it, there are 3 scenarios with a failed update:
- redirect to edit action, but the form''s data will be lost.
- render the edit action, but the url will
2006 Jun 28
2
respond_to and Accept headers
After reading:
<http://www.loudthinking.com/arc/000572.html>
I''m trying to experiment with respond_to in order to not repeat myself
and create atom feeds out of a "browse" view.
In application controller I created a before filter that checks for the
extension of the current url and changes the accept header:
[code]
def check_headers
@headers["Accept"]