11-15-2011
Automating a process
Could any one tell me , how to start a thread here, i just searching for so long. sorry to post in irrelavent here
---------- Post updated at 08:19 AM ---------- Previous update was at 08:00 AM ----------
Hi,
I got a requirement to automate the process.
We have SLA files, there are some 80 SLA files comes from 1.30pm - 5.30pm.
I was asked to write a script to check for the SLA files in the load directory, if the files come then we got to send the mail to the group, if the mails doesnt come then we got to store in a file or variable( i will come here later)
The issue is as the file comes from 1.30pm - 5.30pm, we want this script to run for every half hour that i will handle through cron, the problem is we want to check for the files in 1.30pm slot only those which are expected to come not all files should be checked.
In other words if abc.txt, def.txt, ghi.txt come in 1.30pm then my input files should contain only this, and if some files are missing then we got to save them in a file or variable. This file or variable which has the list of file not came in 1.30pm slot should be added to 2pm slot's input files and check for the arrival.
Please help me as how i can achive this
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I want to write a script which logs into a database (DB2). To do this i need to have a password. This will be done lots and lots of times, so i need to modify the script to automate the response to the password request.
How do i this, because at present i do the following:
db2 connect... (3 Replies)
Discussion started by: Liamo
3 Replies
2. Shell Programming and Scripting
Hey ppl,
I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this? (0 Replies)
Discussion started by: laxmi
0 Replies
3. Linux
Hey ppl,
I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this?:confused: (8 Replies)
Discussion started by: laxmi
8 Replies
4. Shell Programming and Scripting
Hi there,
I have to automate daily monitoring process and then the result of these process should be sent to a log file, then this log file should be mailed .
ps -ef | grep aa
In this atleast one process should run.
If the process is running it should mention Success in the log file... (3 Replies)
Discussion started by: NehaKrish
3 Replies
5. Shell Programming and Scripting
Solaris...
I need to automate running of scsudo from another script. However, I've determined that scsudo reads the password from /dev/tty rather than STDIN when the Password prompt appears. I don't have 'expect' or equivalents available - can I automate sending the correct password when... (1 Reply)
Discussion started by: JerryHone
1 Replies
6. Shell Programming and Scripting
Hi Guru's,
I am trying to write a scripts that will automate my image provisoining process.
Scenario:
I have Linux Image Hosted on cloud which needs to be provisoned before it can be used. Currently we log onto the image through the putty on windows and connect to linux instance. I... (3 Replies)
Discussion started by: taqvia
3 Replies
7. Shell Programming and Scripting
Hi All,
I have a shell script that is integrated with a fault management system. It periodically monitors the system and raises an alarm. This script has different functions and it accepts input from us on the console. Is there any way to invoke it using a shell script ?
Please advise.
... (2 Replies)
Discussion started by: praviper
2 Replies
8. UNIX for Dummies Questions & Answers
Hi ,
I want to pull files from ftp monthly once . The files in ftp has a something like 292_fileto_pull and next month it will be 293_fileto_pull for each month the number keeps increasing. i thought in my script if i can use date and increment the number by it
mget *_292_fileto_pull
i... (2 Replies)
Discussion started by: vikatakavi
2 Replies
9. Shell Programming and Scripting
Hi
i had written one script,it sends email from terminal and mine script is as:
#!/bin/bash
SUBJECT="linux mail send attachment example"
BODY_FILE="/home/sreenivasa/Desktop/Testing.txt"
#ATTACHMENT_FILE="/home/sreenivasa/Desktop/Dataset.zip"... (23 Replies)
Discussion started by: rajnikant
23 Replies
10. Shell Programming and Scripting
Hello,
I'm running Stockfish chess engine ( Home - Stockfish - Open Source Chess Engine ) CLI on Linux in interactive mode which is working fine.
root@ubuntu1950x:~# ./stockfish
Stockfish 080218 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
setoption name Debug Log File... (2 Replies)
Discussion started by: prvnrk
2 Replies
LEARN ABOUT DEBIAN
yodlpost
yodlpost(1) Your Own Document Language yodlpost(1)
NAME
yodlpost - Yodl post-processor
SYNOPSIS
yodlpost [options] index yodlout [out]
DESCRIPTION
The Yodl post processor is used to solve references into the converted text, and to split (where appropriate) the converted Yodl text in
parts. Some conversions do not require post-processing, such as LaTeX, but most do. Therefore, in most cases a Yodl conversion consists of
two phases:
o First, yodl(1) is called, producing a raw output file and an associated index file;
o Then, yodlpost(1) is called, converting these two files into a final document. Normally, yodl2...(1) scripts are used to perform
complete Yodl conversions.
OPTIONS
-x ext: extension of the out-s if different from out's extension itself. If omitted, and out has no extension, ypp (Yodl Post Processor) is
used.
SEE ALSO
yodlstriproff(1), yodl(1), yodlbuiltins(7), yodlconverters(1), yodlletter(7), yodlmacros(7), yodlmanpage(7), yodlverbinsert(1).
BUGS
-
AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl),
yodl_3.00.0.tar.gz 1996-2010 yodlpost(1)