Search Results

Search: Posts Made By: nw2unx123
2,410
Posted By nw2unx123
Job scheduling on demand
I am writing a script to run the jobs on demand, like when i am done with some online updates i want to run the sheduler script to schedule the job 1 by 1. It executes the following way

sched.ksh...
4,768
Posted By nw2unx123
Read a file from the nth line on
I have a script which reads from a job file and executed the scripts in the job file in sequence.

#! /bin/ksh
set -x
while read line
do
$line.ksh
if [ $? -ne 0 ]
# mail the team
fi...
5,562
Posted By nw2unx123
Check if the string is empty
I am reading from a file and executing the jobs with/without parameters as the job requires.

File
job1 R
job2
job3 Y 123


if [ -z $params ]
then
<job>.ksh
else
<job>.ksh $params...
2,356
Posted By nw2unx123
I just removed the . from . /child1.ksh and it...
I just removed the . from . /child1.ksh
and it worked fine.


The $line is nothing but the following line by line from the file
child1
child2
child3
child4
child5
2,356
Posted By nw2unx123
Child exiting and not returning to parent script
I am having a parent scripts which reads a file with child scripts name.
I need to read one by one child script , execute it and
1. If child script fails send mail to the team with the log file...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 07:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy