below file is job list, the records without s( in the begining is job name in the box, the records with s() is the job depends on them (some of them in the box, some of them not in the box). I need to use script to find the job name not in the box.
from above file, the inbox job is and the job not inbox is
I wrote a script to do this but it is a little bit compleated. I am wonder if there is any easy way to achive this task.
my script as below.
grep ^s( filename > file1
grep -v ^s > file2
then remove s( and ) with command sed 's/s(//' |sed 's/)//'
then compare these two file2 and file1 find outbox job.
I have this box job and it contains only one job under it which is to load a file. I want to insert a "File Watcher", "Copy File" to it? Have no clue how to do that...any help plzzz... (4 Replies)
Hey guys,
Is there an autorep option to find out the current runtime of a job..
Or do you have to work it out using machine time and start time?
What I'm trying to do is create a script that will email out the autosys job details. I was hoping there would be an autorep command that would... (0 Replies)
Guys;
I first I thank you for helping me few times in the past;
A job runs every day at 8AM and looks for a file “abcd.txt” in directory “/usr/task/tmp”. How to find the job and its location. I need to change the file name to “abcd.dat”. it is UNIX environment. (2 Replies)
Hi,
How to find remote Linux box login account without login in to that box?
I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout?
Thanks,
--Muthu. (3 Replies)
/usr/bin/find $SEARCH_DIR -daystart \( \( -name 'KI*' -a -name '*.csv' \) -o -name '*_xyz_*' \) -mtime $DAYS_AGO -printf %f -printf "\n" | sort -r > $FILES
The above command gives different results when run on a cron job. When run manually the result is accurate. (2 Replies)
Hi,
Could you please Tell me the command to find the number of cores in red hat box?
I have tried cat cat /proc/cpuinfo | grep processor | wc -l command to find the number of processers.
But need to fond the number of cores.
Is there any difference between core and processor?
... (4 Replies)
Hi,
I have a HP-UX server were I need to list all the files in the entire file system, their directory path, last modified date, owner and group. I do not need to search the file contents. I created the script given below and I am excluding directories and files of type tmp, temp and log. The... (4 Replies)