Hi All,
We now have a Log file which has time stamps of all the scripts ran. It has start
time and end time. I now have a requirement to send mail to the Admin after the script finishes running.
Can some one help me with a Script which will send mail with Start time and
End time of the... (2 Replies)
Hi all,
After expect catches the string I specify, is there a way to ask expect wait for sometime before running the next send command ?
So my script looks like following,
expect "some string"
#How to ask expect to wait for a while
send "next command"
The reason I want to do this is... (0 Replies)
Hi guys, I have a issue with a background process, I need to update the value of a variable in that process which is running at this time and it will be running for at least 2 days.
Any idea?
I will apreciate your help. regards.
Razziel. (2 Replies)
Hi All,
I have a requirement to send and email of body html with an attachment.
concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail.
my command to send HTML body is as below:
export MAILTO="recipient@domain.com"... (1 Reply)
Hi. A shell scripting newbie here. I am trying to write a script that will create a running total of Sales, and increment a counter for each Sales entry, but when I executed the program it never stopped.
counter=0
Sales=0
echo "enter sales price"
read sales
while
do
let counter=counter+1... (6 Replies)
Hi,
I am facing a (for me and coworkers) strange behaviour. When I stop sendmail on a plain AIX 5.3 testing box (there is definetly no sendmail process left running anymore), I am still able to send mails to remote addresses via the mail command. I tried that on another box which is not a... (6 Replies)
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
my request is:
i have to create a script , which will grep the 'not running' jobs and will send the update in mail with its name(job)
Scenario:
logged in to machine abc
went to particular path: cd /a/b/c
then ./script1.sh status (script.sh is a script,whose status gives info about 10 jobs... (1 Reply)
I have set up a cron, which will send the mail with not runnnig jobs in the script.sh
15,30,45 * * * * /a/b/c/script.sh | grep not | mail -s "test mail" learner987@gmail.com
But i dont want mail when all the jobs are running, but with the above cron i will get mails without the content(if all... (2 Replies)
Discussion started by: learner987
2 Replies
LEARN ABOUT SUSE
lyxclient
LYXCLIENT(1) lyxclient 1.6.5 LYXCLIENT(1)NAME
lyxclient - send commands to a running LyX editor
SYNOPSIS
lyxclient [ options ]
DESCRIPTION
When LyX starts, it creates a unique, per-process local socket in the temporary directory through which commands can be sent. That is, it
can act like a server, accepting connections from clients. lyxclient can be used as such client. lyxclient will take care of all connection
and communication protocol details, leaving you (or your app) free to concentrate on what you want to send to LyX.
SERVER IDENTIFICATION OPTIONS
lyxclient must first identify to which server (i.e. a running LyX) commands are to be sent. The following options are used to specify the
server.
-p pid
specify the pid of the running LyX process to which lyxclient should send commands.
-a socket_address
specify explicitly which socket special file should be used. These special files are located inside lyx_tmpdir<lyx_pid><hash>, in the
temporary directory. There is one per running LyX process.
-t tmp_dir
if LyX is configured to use a temporary directory other than /tmp, you must inform lyxclient of this.
If neither -a nor -p are invoked, lyxclient will search for sockets in /tmp (or tmp_dir if the -t option is used) and use the first socket
to which it can connect. This is safe if you are running only one LyX process at any one time.
COMMAND MODE OPTIONS
lyxclient can send commands to LyX from both the command-line and from standard input. LyX commands documentation can be found in LyX Help
menu.
-c command
send a single command, print LyX information to standard output and exit. LYXCMD prefix is needed in the given command.
-g file line
this is simply a wrapper for the command 'server-goto-file-row file line'. It is used by the DVI previewer to elicit inverse DVI
search.
If neither -c nor -g are used, lyxclient will regard any standard input as commands to be sent to LyX, printing LyX's responses to standard
output. Commands are separated by newlines (the '
' character). To finish communication and terminate the lyxclient process, send the com-
mand 'BYE:'.
MISCELANEOUS OPTIONS -n name
when starting communication, lyxclient sends an idenfifier string to LyX. By default, this string is "PPID>PID", where PPID is lyx-
client's parent pid and pid is lyxclient's pid. Use this option to override this default.
-h print the lyxclient version and summarize its usage.
ENVIRONMENT
LYXSOCKET
can be used to specify the socket special file that must be used. LyX sets this variable. It is overridden by the -a option.
SEE ALSO lyx(1), xdvi(1), LFUNs.lyx.
AUTHORS
Joao Luis M. Assirati <assirati@fma.if.usp.br> is the principal author of lyxclient.
Version 1.6.5 2009-12-05 LYXCLIENT(1)