Displaying 17 results from an estimated 17 matches for "somescript".
2010 Feb 05
3
open script file from command line
Hi all,
Is there a function to open a script file from the command line? I have
several students who are Mac users and when they open up a script file it
does not send commands to the console, and unfortunately I don't know how to
solve this problem since I am not a Mac user.
I have looked over the FAQ for Mac users, but didn't see a reference to the
problem.
I think they are both
2003 Sep 04
3
Call script after hangup
Beginner: How can a script be called after a calling user hangup?
What's wrong with this:
[incoming]
exten => s,1,Playback,welcome
exten => s,2,Record,msgfile:gsm
exten => h,1,Goto(callscript,1,1)
[callscript]
exten => 1,1,Wait,5
exten => 1,2,System("SomeScript")
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030904/e0eac7fe/attachment.htm
2006 Nov 13
1
Can AGI do this?
Please pardon the absolute noob questions. Someone has asked me to
interface with Asterisk and have it dial 4 numbers in succession to have
it track down an on-call person.
My initial reaction was to write an AGI program and return all 4 numbers
and have Asterisk hunt them - can Asterisk do this?
If not, is it possible to write an AGI program that gets all 4 numbers,
then somehow hands them
2010 Aug 31
1
Running System() after call completion, not in 'h'?
...em(). However, I'm finding that roughly 5% of the time, the System() command never executes and seems to be on specific destinations. Simplified/paraphrased example:
exten => 1,1,Set(VARIABLE=SOMEVALUE)
exten => 1,n,Dial(SIP/somepeer/1234567980)
exten => 1,n,System(/bin/bash /root/bin/somescript.sh ${VARIABLE}
It almost seems to be related to how fast the destination 'hangs up' and whether or not the dialplan has time to run the System command before jumping to 'h'.
I have to believe there is a better way to do this, possibly using DeadAGI?
All suggestions welcome. Thank...
2003 Oct 27
3
PDC and concurrent logins
Hello!
I am using samba running as a PDC at our school. I have read many docs and
howtos but I can't find anything about Concurrent logins. I would be a
nice feature becouse I don't want my users to login more than one time. Is
there anyone that does have a clue?
Greetings from Sweden
---
Mikael Karlsson
Skoldataenheten, Tibro Kommun
Sweden
+4650414783
mikael.karlsson@edu.tibro.se
2006 Aug 02
3
Does Ruby / Rails have something similar to PHPs ''virtual''
Hi all
Is there a rails / ruby function that is analagous to PHPs ''virtual''
function?
"virtual() is an Apache-specific function which is similar to
<!--#include virtual...--> in mod_include. It performs an Apache
sub-request. It is useful for including CGI scripts or .shtml files, or
anything else that you would parse through Apache. Note that for a CGI
script,
2007 Aug 06
2
Makefile for embedding OpenBUGS in R package
...-%--------
bugs: ../inst/OpenBUGS/CBugs.c
gcc -m32 -o bugs ../inst/OpenBUGS/CBugs.c -ldl
-%-------
The objective is to use something along the following
execfile <- system.file("OpenBUGS", "bugs", package = mypkg)
system(paste(execfile, "< somescript.script > somefile.out"))
This system call to the CLI is currently the only (non-WINE)
way of using OpenBUGS on Linux in batch mode.
Many thanks in advance,
Tobias
--
Tobias Verbeke - Consultant
Business & Decision Benelux
Rue de la r?volution 8
1000 Brussels - BELG...
2011 Apr 27
6
rubygems (LoadError)
I''m trying to set up a cron job with a runner that calls a method in one
of my models. I''m using javan''s whenever gem to do this and I''m running
CentOS on my server. Whenever the cron executes though I''m getting the
following error:
`require'': no such file to load -- rubygems (LoadError)
The method uses the ''mail'' and
2006 Sep 25
2
To redirect any message into /dev/null
Hi all,
I'm running a script in my crontab like this:
*/50 * * * * /root/scripts/keepjobrun 2>&1 > /dev/null
However, crontab always sends a message to root (me) about the above script.
How do I stop it from sending any notification?
Thank you very much,
--
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
1:23pm up 5:18, 2.6.16.13-4-default
2006 Jun 13
1
wininet not sending Content-Length: in header (http 411 error)
...when running it through wine 0.9.15 the server replies back with a 411
response. I tried http and https with the same result(decrypted the SSL
to make sure).
1 8 1150206672.2493 (0.0006) C>S application_data
---------------------------------------------------------------
POST /SomeScript.asp HTTP/1.0
Accept: image/gif
Host: renamed.to.hide.the.innocent
User-Agent: Microsoft URL Control - 6.00.8862
---------------------------------------------------------------
1 9 1150206672.2500 (0.0006) S>C application_data
-----------------------------------------...
2002 Jun 11
0
[Bug 273] sshd hangs on shell exit if user spawned child with /bin/nohup
...>>debug1: Entering interactive session.
>>debug1: fd 7 setting O_NONBLOCK
>>debug1: fd 10 setting O_NONBLOCK
>>debug1: fd 11 setting O_NONBLOCK
>>debug1: server_init_dispatch_13
>>debug1: server_init_dispatch_15
Now I start the "nohup job" with ./nohup somescript &
I then try to exit the ksh shell.
Ksh first tells you "You have running jobs" ( normal...)
then I give the second exit.
At that point, my ksh becomes a <defunct> process (zombie).
sshd apparently gets the SIGCHLD:
>debug1: Received SIGCHLD.
But, my ssh session is "hung...
2006 Nov 30
1
2nd attempt - Return code - How to?
...30 00:19:06 ERROR[23493]: pbx.c:1382 ast_func_read: Function STAT not
registered
-- Executing Set("SIP/grandstream406-22e9", "s1=0") in new stack
and in general I am confused about return codes. How would you use a
return code from the following....
exten => s,1,System(somescript arg1 arg2)
Can someone give me a working example??? I keep getting the above error
Doug
2009 Jul 17
0
Help with pppd
Hi guys
I'm new to the list. There is something I want to ask.
I'm running Centos 5.3. Everything works pretty good.
I need to set up somescripts to make a dialup conection to a closed network.
I'm using the scripts from ppp-2.4.4. Everything id going fine exept
for one issue.
Remote access server use radius autentication.
How can I dial in using ppp-on script and auteticate against the
remote radius server?
Hope some of you can help....
2008 Apr 25
9
dd trough scp with tar
Hi,
first i will explain my experiment :
We have ESX server running virtual machines .We want to migrate to XEN. As i
did not found any tool for transfering ESX to for example real server, or
better to XEN --> please correct me if i am wrong , i found following
approach :
i will inside virtual machine on ESX boot from Live-CD of CentOS , using dd
i will transfer images trought scp to CentOs
2008 Apr 25
9
dd trough scp with tar
Hi,
first i will explain my experiment :
We have ESX server running virtual machines .We want to migrate to XEN. As i
did not found any tool for transfering ESX to for example real server, or
better to XEN --> please correct me if i am wrong , i found following
approach :
i will inside virtual machine on ESX boot from Live-CD of CentOS , using dd
i will transfer images trought scp to CentOs
2006 May 26
3
capistrano on windows (again)
Hi all
I didn''t get a response to my first post so I thought I''d try again. is
anyone successfully using capistrano to deploy their app from a windows box?
I''m trying to deploy a test app to my dreamhost account but all i get is
"rake aborted!" with no further information. Can someone please confirm if
capistrano even works under windows?
many thanks
al
2001 Oct 08
1
Yet another batch mode question
Hello all and thanks in advance,
I know you can start R with either:
1. R CMD BATCH myfile.R
or
2. R < myfile.R
My question is this: what if I want multiple input files and/or command
line arguments. For example, under unix you can run a script command (in
a shell language, perl, or python) like:
python myScript.py
or better yet, if you have things set up right, you can place a