Displaying 20 results from an estimated 3000 matches similar to: "timer service"
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 Oct 16
3
backgroundrb.yml not generated
I''m trying to do the tutorial at http://www.infoq.com/articles/BackgrounDRb. A little more than half-way through it says "Upon instalation, the plugin writes a config file into RAILS_ROOT/config/backgroundrb.yml." It didn''t happen for me.
I installed the plugin with:
ruby script\plugin install svn:\\rubyforge.org//var/svn/backgroundrb
It added a bunch of files,
2006 Jul 31
1
Starting backgroundrb from rails and restarting with rails
Hi,
I have my rails sites tricked out with capistrano, and backgroundrb, so
I can easily use the ant tasks, but I would like to be able to start and
stop backgroundrb from within rails.
I have a few reasons for this:
1. Using fastcgi, backgroundrb would start under the apache user and the
same mod_security context as apache, instead of my developer account
which has many more privileges.
2.
2006 Aug 07
2
Process status...
I''ve used Railscron in a couple instances, and I liked that fact that
it has a rake task for checking the status of the process. Many times
I use it in the admin interface to allow me to double check that
everything is up and running.
I couldn''t find one for backgroundrb, so here is a simple one.
Probably obvious to everyone, and no doubt there is a better way to do
it:
2007 Feb 14
1
cron like behaviour?
Hi
I have previously used railscron for server-side manipulation of the
database but had a heap of trouble working with it.
BackgrounDRB was suggested to me by a friend.
I upload some files via acts_as_attachment and these go lie in a dir
structure that i desire. What I want from the background process is to
periodically (not user initiated) do some file-structure manipulation i.e. I
want to
2006 Aug 07
3
repeat_every doesn''t tie in with first_run...
Ezra,
Sorry for inundating the list. In using the autostart, repeat_every,
and first_run, I noticed a behaviour I didn''t expect.
I would like the job to run starting at 2am, and then every 24 hours.
So I set first_run to Time.now.beginning_of_day + 2.hours, and
repeat_every to 24.hours.
The problem is if backgroundrb starts up at 6am (due to a code change
or server bump), then the
2007 Sep 18
10
How do i make rails wait until an ffmpeg call is complete?
In my app i upload a file, convert it with ffmpeg, delete the original
and make a small thumbnail out of the big thumbnail ffmpeg makes.
At the moment it seems like these actions are tripping over each other -
how can i make the app wait until ffmpeg has completed it''s output
before doing the next thing?
--
Posted via http://www.ruby-forum.com/.
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 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 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
2003 Oct 05
2
not sure
I just received an e-mail from V.K. Quach and I am not really sure what
it meant. So if anyone can help me I would really appreciate it. I
just sent out a message to the list regarding a newbie question.
The reply I received was as follows:
Ich bin bis 17. Okt. 2003 abwesend. In dringenden F?llen wenden Sie sich
bitte an Hr. Kay Vetter (770) oder Hr. Sascha Huter (778)
V. K. Quach
Thank
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 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 Aug 09
3
Need help with backgroundrb''s concepts and installation
Hello backgroundrb-devel
my name is Teeranit Ruangdet. I''m fairly new to Ruby on Rails so please bear
with me here.
I''m currently on a project where I need to import a whole bunch of records
from spreadsheet(.csv) and save them in the database. My problem is that
while I''m importing (huge file...say 5000 employees), no one else can access
the website (it basically block
2005 Feb 24
5
mythtv on centos
Hi,
Anyone out there has any luck on getting mythv or freevo to work on
centos 3. I am planning to setup mine pretty soon.
Thanks,
2006 Jul 31
1
How do I call a controller from a model, console, or outside of rails?
Hi,
I''m writing yet another cms and I need to capture the html output of a
rendered template including helpers, etc from within my rails app. I
plan to use backgroundrb, and I need to be able to capture the output of
"pages.browse()" where pages is my controller. I need to pass in the id
param.
How can I do this besides using Net::HTTP? Using Net::HTTP hangs when
2012 Feb 22
2
What about ZFS ?
Hi everybody,
I'm looking for information about using GlusterFS with ZFS. I got information that talked about a sort of incompatibility between the both technologies because of unsupported xattr feature in ZFS.
What are the latest news about this ?
Thank you in advance.
2006 Feb 11
1
Instructions required for RailsCron
Hi,
I am writing a client-server rails app. The client and server maintain
similar databases. Periodically, I would like them to synchronize their
databases. For this, in the application, once the user logs in, I want
to spawn a background process at the client that first sends the
client''s new data and then receives the server''s new data.
I am thinking of using RailsCron for
2006 Feb 23
1
RailsCron: ''every'' in background
Got another question. It''s unclear to me what "every" means in the background
function and how it relates to the RailsCron.create "every":
>From README:
RailsCron.create(
:command => "Object.do_something()",
:start => 2.minutes.from_now,
:every => 12.hours, # default: 1.day
:finish =>
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/