similar to: Task scheduler

Displaying 20 results from an estimated 1000 matches similar to: "Task scheduler"

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 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 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 Feb 23
5
Q: Where to put a periodic updater?
Hello, I need to put a script in place for updating a local database with a remote resource periodically. It should be started alongside the server (or inside it, whatever) and be run as long as the server running my rails app is up an running. Any thoughts on how to accomplish this? I have thought of editing the environment.rb file and placing the call to the script trigger there, but I wonder
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 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 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 Jul 27
3
timer service
hi everyone, I have this case where I need to check some records in the database of a specific data condition every 5 seconds and do some business logic if this scenario is true. Problem is there doesn''t seem to be any timer service in the rails framework. Anyone have a general idea of how to attack this problem? thanks, -dan -- Posted via http://www.ruby-forum.com/.
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 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 May 30
6
Why would I choose RoR over Turbogears
I''m trying to get some answers as to why I (my company actually) would go with RoR over TurboGears. The developer staff is fluent in both Ruby and Python so that is not an issue. Rails is well into its release cycle whereas Turbogears won''t be at 1.0 until later this week. They both do essentially the same thing and they both have cool features unique to themselves
2006 Apr 20
5
Toolbox
Hello my friends Today at FISL (International Forum of Free Software), I''ve had the opportunity to watch a Turbogears presentation. The framework, itself is really weak in comparison to rails, but... When the guy who was making the presentation show the NEW 0.9 TurboGears Toolbox I''ve though: - Isn''t something like that in Rails? Well, after a little googleing
2006 Jul 25
4
Knowing when a user is logged in
I am looking into creating a website similar to a chat program. I know when the user logs in. However, the user can log out any of the following ways: Logout link - This one is easy to handle User closer browser window User hits the back button User loses his/her internt connection. Is there a way within rails to handle the latter three user actions? Thanks! -- Posted via
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.
2008 May 27
1
stateful computation for web-based R across HTTP requests
Hi, A friend just introduced me to R today and I think it is really nice after browsing its web site. I'm eager to cook up some web-based interface to use R at work for more platform-independent access. I plan to implement it in a Python-based framework such as TurboGears or Django on either FreeBSD or Linux platform. My question is: how do i maintain stateful computations across
2006 Nov 15
3
Star rating system - IE display problems
Has anyone out there implemented a star rating system as described by Dave Naffis? http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system He really has an excellent HOWTO to set this up. Unfortunately I see problems in IE. The overlayed, filled-in rating stars are not overlaying over top of the blank stars. The overlay is starting about 2.5 stars right of where it should.
2006 Feb 20
5
RailsCron: error message
Hi, I''m trying to use RailsCron but keeping getting an error when I try to run it. I''m a beginner, so please use small words :) -bash-2.05b$ rake cron_start (in /home/jake/rails_sites/testsite) Syntax error: "&" unexpected The little bit I know about my environment: - RailsCron installed as a plug in (not gem, cause I''m on a shared host) - Debian Linux
2006 Aug 04
3
Web service sessions
I want to use ruby on rails entirely as an xml-rpc web service server. I.e. it will only be called by clients making xml-rpc requests. What I want to to is be able to use something like the session[] functionality for storing session information. However, storing information in the session[] construct requires that the client be a web browser with cookies enabled. Does anyone know of a
2006 May 01
1
Best way to do task in background in Rails
Hey everyone, I''m still getting up to speed with Rails and Ruby. Is there a best practice technique for kicking off a thread to work on an activity in the background? Here''s the scenario: the user performs an action that triggers e-mails to be sent. (I''m using ActionMailer). My app acknowledges with a message to the user that the messages have been sent. I would
2006 Mar 20
6
Rails and Offline processing
How are you guys handling threads or server processes that have to, for example, process the data in your application on a periodic basis? Cron jobs can do it and then run on the database. But, are there ways to launch threads within the rails application itself. I have heard of WebBrick ways, but I am working with lighttpd, fastcgi? (textdrive if you are really interested).