similar to: Q: Where to put a periodic updater?

Displaying 20 results from an estimated 3000 matches similar to: "Q: Where to put a periodic updater?"

2006 Feb 08
2
How to install RailsCron?
Hi, I would like to start running a background procedure once a user logs in to his account on the website. For this I am considering using the RailsCron object. However, I am not able to download it. I am new to Rails. Can someone give me the excat command I should use to get RailsCron? Can someone suggest a better way of running a procedure in the background? Thanks -Yash -- Posted via
2006 Jan 25
24
RailsCron 0.2 plugin
I received feedback from some of you, saying that it would be cool if RailsCron was even easier to manage. So I implemented a graceful start/restart inside of the plugin''s init.rb. If you don''t like it, comment it out and send me the feedback. Also, I finished an update to RailsCron that allows you to attach asynchronous processing methods to your ActiveRecord models. i.e.:
2006 Jan 07
3
RailsCron 0.1 plugin
I, like many of you, have been searching for a good way to handle running long processes in Rails. So I rolled my own solution. I really want feedback! (I''ve tested this on very simple hello world examples, so don''t use it on anything production yet) . Grab the plugin: http://opensvn.csie.org/rails_cron Here''s the README: OVERVIEW ======== RailsCron is a way to
2006 Feb 07
4
RailsCron 0.2.2, please update
I updated RailsCron to fix some threading issues with ActiveRecord. Please update if you were on 0.2.1. Also, I am still working on a good unit test strategy (its tricky because I would think that the tests must occur over a lot of time), but haven''t had/made time to give it its due. If you have suggestions, please let me know. -- Kyle Maxwell Chief Technologist E Factor Media // FN
2006 Feb 19
4
Sending Scheduled Email Ticklers
Hi All, I am developing a RoR app for managing community information and would like to have an summary of current events and interests mailed out monthly. The tickler email would be a basic summary of items and links back to the site. I would like to schedule the email delivery dates and have the app send out email to registered users that opted for this service. Once scheduled, a monthly
2006 Jan 23
3
running a background task/thread in rails?
Hi, I am new to ruby and to rails, but I like what I see so far. I have been working on a web app in java (servlets and JSPs) that, based on a request from the user, kicks off a thread in the background to perform a task (puts messages in an MQSeries queue). The thread object is stored in the session and I then allow the user to control the task from the browser(like stop it). Is the same
2006 Mar 27
4
How to create a daemon in a rails app
i want a daemon will check somthing every 10 minute how do this in rails? -- Posted via http://www.ruby-forum.com/.
2006 Jul 25
3
Task scheduler
Does anyone know if there exists a Task Scheduler module in Ruby on Rails like in TurboGears below? http://www.turbogears.org/preview/docs/scheduler.html I''m using Ruby on Rails for a multiplayer online game and I want to set checks at regular intervals to see if users are still logged in etc. Thanks in advance -- Posted via http://www.ruby-forum.com/.
2006 Jan 28
1
RailsCron 0.2 questions
Hi all, I''ve set up RailsCron to send email reminders on a daily basis. My dev environment is Rails trunk on Debian Sarge, lighttpd running as a regular user. I''m having two issues: 1) When I run "rake cron_start", I get rake aborted! undefined method `blank?'' for "":String The "blank?" method is provided by Rails, so I''m
2006 Mar 23
7
Fixtures just Do Not Work for Me
Hello, I have been struggling to get fixtures to work here with no success. They just Do Not Work For Me (tm). I have created a model named Headline with the `generate'' script and modified the test/fixtumes/headlines.yml as follows ---------- gita: id: 1 author: raulseixas title: gita happened_at: 2005-01-01 00:00:00 description: gita This is the CD reissue of
2006 Mar 14
6
Framework
hello all, I need any framework that generate models using the database structure.... Anyone knows if have this framework???? Thank''s -- Posted via http://www.ruby-forum.com/.
2006 Feb 14
7
Action when database changes
Hello, Is it possible to trigger an action in a controller when a table from database changes? I thought about using an utility like cron (railscron) to check every, e.g. 2 s, if the table changed, but I am wondering if there is a solution a bit more ''elegant'': to trigger an action exactly when the change is made. Best regards, -- Kuba Nowak
2006 Jul 27
1
Getting a MySQL deadlock when running RailsCron...
I''m using RailsCron, and it''s working out very well for me. However, I''m having one problem right now. I use the acts_as_background on one of my model objects. In order to get it to add the cron job to the table, I have to make sure the model is loaded in environment.rb. MyObject.load However, I''m running 2-3 fcgi process on my server. Most of the time when
2006 Feb 23
5
Web/HTTP Testing
Hello, I am looking for a user test automation tool. When I say ''user'', I mean it should mimic the user interacting with the app. That ultimately boils down to a tool that drives a browser or is able to make http requests and allow us to deal easily with the responses. Our requirements are to be able to write the tests in Ruby (no need to switch to other language for test
2006 May 10
2
Circular dependency issue in startup
Hi all ! I am adding observers to some model objects. One of these uses RailsCron. RailsCron adds a class method to ActiveRecord::Base. Unfortunately, during the initialization phase, plugins aren't yet loaded, so I can't setup my observers in config/environment.rb, as suggested by the comments. What's a poor dev to do ? At the moment, I have fallen back to this: # Require all
2006 Mar 16
6
Newbie question - Rails without database
Hello to all, I am entirely new to Ruby and also to Ruby on Rails. As far as I understand, Rails builds its model according to the a specified table structuree in in the database. However, most of my applications, are for the most part (except some backend CRUD stuff) not database centric. They do a lot of calculation for the user. So, how can I create a model, when no database is needed,
2006 Jun 30
2
Development of RailsCron
Hi, Is the development of Rails Cron still active? most of the blog articles about it are unavailable and it hasn''t been updated for a long time. -- Abdur-Rahman Advany http://blog.railsdevelopment.com/
2006 Apr 10
6
image_tag adding request parameter
I have noticed that the image_tag helper method now appends a request parameter to the generated src attribute. With Rails 1.0/actionpack-1.11.2 I had <img src="/images/rss.gif" /> Now (1.1/1.12.1) I get <img alt="Rss" border="0" src="/images/rss.gif?1142366545" /> Is there any use for that number? Where does it come from? This is very far
2006 Aug 08
1
RailsCron for Oracle patch
Hi, maybe this is of use for some of you. RailsCron from http://svn.kylemaxwell.com/rails_cron/trunk does not work with an Oracle database out of the box. One thing is the usage of "start" as an attribute name, which is a reserved word in Oracle. The other thing is the datatype :text for the command column. This will become a CLOB which cannot be queried with an ActiveRecord select.
2006 Jun 27
5
Rails cronjob?
I want to be able to write a script in Ruby which regularly consumes an XML feed from a fixed source, re-formats it, produces a large file for web delivery, and updates a database with the contained information. It''s simple - just running a script from a cron job, and some basic data manipulation... But I''d prefer to use the Rails database mapping constructs than roll my