Hello All,
I am a newbie in Shell script programming, and maybe you can help me with my query.
I need to write a shell script (mntServer.ksh) that will start a background process and also to be able to run another script.
The mntServer.ksh script contains:
#!/bin/ksh... (1 Reply)
hey all,
i am working on sun solaris machine and i want to start a process in background using shell script (actually i wanna start tomcat server using shell script). please dont tell me that append a & at last because this is not working in the shell script. i have also used nohup and... (8 Replies)
Hello,
I have a script that needs to wait till the previous process is done within the same script.But my script doesnt wait till that it is done.Can anyone suggest how I can stop my process till the previous task is done.
I tried 'wait' but I dont have a static process id so is there... (2 Replies)
Hi All,
Here is my script:
sleep_time=`echo "9.6 * $num_servers"|bc| cut -d. -f1`
if ; then sleep_time=3600;fi
### Allow the compare script to kick in after 1 hour at the least
logger "Sleeping for $sleep_time seconds ...Will call compare.sh thereon" $act_log
sleep $sleep_time
#sleep... (3 Replies)
I actually posted this problem on a different forum, but figured this would be a more appropriate place to post it.
OK so I've created my own shell, but I can't get the background process function to run properly! What I want to do is to run a process in the background, and also print when the... (2 Replies)
Hi, i was looking for an answer for some trouble im having runing a script in the cron, thing is, that when i run it manually it works just fine. But when cron runs it, it just doenst work. I saw a reply on a similar subject, suggesting that the . .profile worked for you, but im kind of... (9 Replies)
Hi all,
I have tried the below code to execute.
#! /bin/bash
date1=`date -d "today 08:00:00" +%s`
date2=`date -d "today 08:01:00" +%s`
path=/home/user01/red/IDC/sample
cd $path
java Cspsamp 111.19.5.172 7025 rd1 rd1 "5022=Query|5026=109378|4=627|5=E:VD|5042=$date1|5049=$date2"... (5 Replies)
Hi,
I am using ksh , i have requirement to run 4 functions in background , 4 functions call are available in a case that case is also in function, i need to execute 1st function it should run in background and return to case and next i will call 2nd function it should run in background and... (8 Replies)
I have written the below query to genrate a telephone.I am passing account number from oracle database.
I am calling 2 scripts which generate the bill
1. bip.sh (it runs in the background)
2.runXitInvoice_PROFORMA_integ
bip.sh generates a number which runXitInvoice_PROFORMA_integ
uses.How... (7 Replies)
Hi i am facing problem in shell scripting for ftp process getting following errors
here is the script & result
vi GtpTxnlogs_ftp.sh
"GtpTxnlogs_ftp.sh" 40 lines, 921 characters
#!/usr/bin/bash
######################################################################################
#... (4 Replies)
Discussion started by: Sarmistha
4 Replies
LEARN ABOUT REDHAT
faxq
faxq(1) mgetty+sendfax manual faxq(1)NAME
faxq - display fax jobs queued by faxspool(1)SYNOPSIS
faxq [-osa] [-v] [-r] [-P<job><prio>]
DESCRIPTION
Display the fax queue set up by faxspool(1).
faxq looks for all the jobs queued by faxspool(1) to /var/spool/fax/outgoing/*. For each job in the queue, faxq displays some status infor-
mations about it. If no options are specified, one line per queued fax job is printed, displaying the job number, sender, number of pages
and target fax number.
OPTIONS -v Tells faxq to print a more verbose report for each job (multiple lines).
-o Show old jobs, already sent but still in the queue directory, too.
-s Show suspended jobs (stopped because of too many fatal errors during sending). You can restart those jobs with faxq -r
-a Show all jobs (active, old, suspended).
-r Restart suspended jobs. Every suspended job in the queue (that you have write permissions for) will be requeued. Use faxrm to
delete jobs that you do not want to be sent!
-P <job> <prio>
Change the priority of fax job <job> to <prio>. Example: "faxq -P F000247 3".
BUGS
faxq doesn't handle time scheduling yet.
SEE ALSO faxrunq(1), faxspool(1), faxrm(1), faxqueue(5)AUTHOR
faxq is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>.
greenie 27 Oct 93 faxq(1)