Displaying 20 results from an estimated 20000 matches similar to: "tail -f and periodically call remote"
2006 Jun 15
1
Periodically Call Remote Condition
Hi guys,
I''ve been reading through the forums and came across a response for
adding :with condition to a periodically call remote.
I tried it out and couldn''t make it work. Would anyone have a sample of
how to use this conditional structure with periodically call remote?
If not, does anyone have any idea how to add a condition to a
periodically call remote?
What I need is to
2006 Jun 21
8
Sans Periodically call remote-- possible?
I was wondering, imagine this situation. You have browser 1 on machine 1
and browser 2 on machine 2. I created a div so that I can update certain
elements on the database. Is it possible to have the data rendered on
browser 2 using ajax but without using the periodically call remote? Is
it possible to use the submit event from browser 1 to trigger browser 2
to update?
thanks,
Bing
--
2006 Feb 06
5
Sentry Plugin - Easy Question I don''t doubt
I am looking at adding the Sentry plugin to one of the applications
that we are working on. I have a need to store some info that will
have to be encrypted and decrypted. I have been going through the
docs for the plugin and the AsymetricSentry class looks like the best
for what we need to do but I am not sure how to generate the key. The
docs say:
This is a shortcut for using an
2006 Jun 09
5
Connecting to SQL Server 2000 database - errors
I just started investigating Ruby on Rails and am trying the tutorial.
I need to connect to a SQL Server 2000 database for testing purposes. I
followed the instructions in the How-To on the wiki for SQL Server. The
problem is that when attempting to connect to the database I receive the
following errors:
DBI::DatabaseError in RecipeController#new
Open
OLE error code:80004005 in
2006 Jul 05
13
interactive web app
I have an arbitrary program written in any language, and it is a binary
(ie foo.exe), that will print out output to stdout constantly every 3-5
seconds.
Is there a way that I can have a web application designed in rails that
will print the output of this program to the browser every 3-5 seconds
in realtime, preferably even in an ajax manner.
thanks
--
Posted via http://www.ruby-forum.com/.
2003 Oct 09
4
Previous Commands
Dear All,
yesterday I took the R-1.8.0-source file and compiled it on my own. As I am
using Linux just for a couple of weeks, it was my first compiling session
with ./configure, make, ....
Everything went fine, except for one thing: if I want to look at the
commands history by using the cursor keys, it does not work. Instead of
displaying the previous commands, it returns something like
2007 Apr 04
2
unit tests?
Ezra et al:
I have this problem:
http://rubyforge.org/pipermail/backgroundrb-devel/2006-December/000578.html
Any progress on it? Or are unit tests simply impossible for now?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
2004 Nov 25
1
Searching for original UID at remote (sshd) host
Hi,
does there exist a functionality in the current code, which allows the
setting of an environment variable at the server side that represents
the original user id at the ssh client side. The intention for that is,
that i will know who the real user at the ssh client side is, if the
user sets the option "-l <user>" in the ssh command. In the current
code, I found only the
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
2015 May 10
2
bind fails to start w/missing records
Roland,
Thank you very much for your attention to this. You should get a medal for
all the help you give everyone on this list.
On Sun, 10 May 2015, Rowland Penny wrote:
> Why ? And why don't they show up when you ask for the zones with samba-tool ?
I have that many subnets. As for why they don't show up: they are defined
in BIND's configuration and not samba's; they never
2006 Jun 04
3
Database access for workers
Hi,
nice work on BackgrounDrb! I have a question, though:
What would be the best way to enable database access for a worker,
preferably through ActiveRecord models. Background: I''m trying to
write a worker that periodically gets data from an external source,
writes it to the database and is then displayed by Rails.
Anybody done something like this?
Thanks in advance!
ciao,
2007 Jan 04
3
tail -f /var/log/maillog error
Hi,
I am ruunig a Mailserver (Sendmail) on RedhHat 9,
When I type the below command, it shows the logs for mail.
tail -f /var/log/maillog
But , Since this morning, It shows nothing.
why,
help needed.
--
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Nov 04
0
Howto start a unix Tail -f within Rails
Hi,
How can I start a Unix ''Tail -f'' command and follow on web (Rails) the
results?
The example below will not work because this method waits until the shell
command is finished executing.
The same problem for ''popen''.
<%= %x{tail -f} %>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2002 Oct 09
1
tail -f & the missing data:2.2.5, 2.2.19-6.2.16,
Hi,
I have a strange problem viewing data in real
time. I wonder can anyone help?
I run tail -f on a file which is served by
a windows 2000 machine. I start a simple
program running on windows 2000 which writes
numbered lines of text to this file. I
notice that tail -f is missing some of
the lines. If I edit the file afterwards
the data is there it's just that tail
seems to miss bits of it
2002 Jul 04
3
tail -f doesn't work on a smbfs mount
I mount a WinNT share using a samba client version 2.2.5:
smbmount -t smbfs -o username=user //ntserver/share /logs
Then I want to watch a log generated by Internet Information
Server (IIS) that grows continually:
tail -f /logs/zzz.txt
I can see the last lines in file zzz.txt the first time, but I
don't get the new lines that are appended in such file. From any
windows station I have
2002 Mar 05
1
Terminal periodically hangs
Ssh connects and authenticates correctly, but sessions periodically hang for
minutes at a time.
This behaviour also occurs when sftp is used to transfer files - the
connection will periodically hang, and then resume transfer. No problem
piping rsync over ssh, though (rsync -e ssh ack ugh:/home/foo/ack).
Both ssh and sftp problem occur when server is accessed over internal LAN or
external
2005 Dec 21
10
can an active records maps to N tables?
Hi,
Is it possbile that one active record maps to N
tables, actually the relation is 1 to 1, I wonder it
is possible.
also can a ruby object map to N tables, instead of an
active records?
Thanks you very much:)
Saiho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2007 May 30
2
ActionView::TemplateError
Hi,
I have a strange problem that only occurs on the production server.
I''ve been banging my head for hours trying to figure it out with no
success. Below is a copy of the error from the production log.
ActionView::TemplateError (Expected /www/rails_apps/scanlan/current/
public/../config/../app/models/image.rb to define Image) on line #6 of
app/views/admin/design/_record.rhtml:
3:
2006 Jun 15
6
Error in dispatch.fcgi...
Yesterday, our of nothing my server went down...
Rails application failed to start properly
Imediately i started checking my logs and found quickly that something
was wrong with the dispatch.fcgi or its function.
I use FCGI, and it had been working perfectly with Apache 2.0.55, MySQL
5.0, Ruby 1.8.2 and Rails 1.1.2.
What really got me wondering was that I did nothing. One day it worked
2006 Mar 03
1
weird error with login engine
Any ideas what would cause the following exception (using the login engine):
--------------------------------------
Full executation backtrace:
--------------------------------------
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1697:in
`execute_callstack_for_multiparameter_attributes''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1677:in