10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
mainpid=$$
(trap "echo timeout" SIGTERM SIGKILL SIGINT; sleep 5; kill $mainpid) &
watchdogpid=$!
sleep 10 #do something
kill $watchdogpid
I design a timeout function script
I don't see the echo "timeout" is on the screen (1 Reply)
Discussion started by: yanglei_fage
1 Replies
2. Shell Programming and Scripting
Using a named pipe. Run a find in the background starting in the working directory While this is happening wait for input from the user to ask him which file to find. If the user does not enter any data in 10 seconds ask the user again. Then see if the requested file name is found from the output... (0 Replies)
Discussion started by: kattak1511
0 Replies
3. UNIX and Linux Applications
hi all,
i hope i am posting this /beginner) question in the right forum:
i want to create an update trigger, which rolls back a transaction if a record of a table is updated. the table has - amongst others - a field 'statusid' - if a record in this table has the statusid X and it is attempted... (0 Replies)
Discussion started by: kalinkula
0 Replies
4. UNIX for Advanced & Expert Users
Hello all,
Being new to UNIX and Control-M I've runned in some kind of trouble.
If I'm not mistaking Control M performs job selection upon 3 main criteria:
1- If a Job is or is not critical
2- The job's priority
3- Job's "Time From, time until" parameter
Mi question concerns the... (1 Reply)
Discussion started by: gforbice
1 Replies
5. UNIX for Advanced & Expert Users
can some one give me some link about process and job control commands (2 Replies)
Discussion started by: alokjyotibal
2 Replies
6. Shell Programming and Scripting
Hi,
we have thousands of autosys jobs scheduled. I want a common job or script to be triggered if any of the autosys job fails? Now, obviously i cannot have a new autosys job with condition as failure of each of 1000s of jobs.
Is there an autosys script/job that invokes when any job fails and a... (1 Reply)
Discussion started by: ysrinu
1 Replies
7. Shell Programming and Scripting
Hi forum,
I have a problem concerning job or process scheduling and control.
I have to run 24 jobs (could be more sometimes less) of the same programme with different parameters. The machine this code is running on is an 8-core machine, so I was thinking that running all the processes at once... (0 Replies)
Discussion started by: deiphon
0 Replies
8. UNIX for Advanced & Expert Users
My project uses Autosys.
I am new to this product and I don't know where to start from.
Q1. Please provide me the link where I can get Autosys documentation
Q2. Please refer a good book on Autosys. (Beginner/Intermediate Level) (0 Replies)
Discussion started by: gram77
0 Replies
9. Shell Programming and Scripting
Hello,
What is the best way to control the running of scripts?
For example, i have a k1.ksh script java pgm that checks to make sure that the file counts in a particular directory are equal to a total file count value in a control file updated from my PC.
If i run this k1.ksh script and... (3 Replies)
Discussion started by: bobk544
3 Replies
10. UNIX for Dummies Questions & Answers
I am having difficulty sending a control sequence ESC&l5H (print to middle tray) to a HP printer (lp4).It is ignoring the command. I am using the following syntax in an executable file :
echo "'/033'&l5H" > /dev/lp4
lp -dlp4 filename
a) Is /033 'escape' ?
b) What is the correct syntax ? (5 Replies)
Discussion started by: ianc
5 Replies