10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
2. Shell Programming and Scripting
How can we run shell script every one hour.
Anyone having code unit for this? (1 Reply)
Discussion started by: Pratiksha Mehra
1 Replies
3. Shell Programming and Scripting
Hi,
Someone please help me to run the script to maintain a Job: Which can be run for every one hour and should maintain the last two hours files only. It should delete the rest of the files in a dir.
Please suggest me with the sample script.
Thanks !!
Reagrds,
Rama (5 Replies)
Discussion started by: ramagore85
5 Replies
4. Shell Programming and Scripting
Hi ! all, I have once script to remove temporary cache and temporary xml files
looks like this, as it is taking more space, I would like to run automatically every 12 hour once, and then I want to receive some log as acknowledgement
#!/bin/sh
echo "Removing logs and temp files (typically... (4 Replies)
Discussion started by: Akshay Hegde
4 Replies
5. Shell Programming and Scripting
I have a cron: 0 5,11,17,23 * * * /home/oracle/scripts/sysize.ksh
This cron will trigger
cat dbsz.txt | mail -s "$TODAY: PROD DB Size" $RECIPIENTS
I don't want to get the e-mail notice 4 times a day. Can I have just one e-mail triggered at 11 AM?
Please advise.
Thank you (3 Replies)
Discussion started by: Daniel Gate
3 Replies
6. Shell Programming and Scripting
Hello,
I need to write a script to check the files in one folder , if that folder doesn't have files generated from last 1 hr then we need to send mail to particular persons.
So Can you please help me to write script to check the files and send email.
Thank you.. (1 Reply)
Discussion started by: archana23
1 Replies
7. Shell Programming and Scripting
Hi,
I have command that should run continuously for 30 mins but not every day not once in a week , not one in a month. whenever i call that particular program that command should run for 30 mins and stop.
#Contents of test.pl
`ls -l *.txt`;
#some other lines of code to print
... (1 Reply)
Discussion started by: vanitham
1 Replies
8. Shell Programming and Scripting
Hi,
i have a logfile of a mail server it looks like this:
d k 1004210238.380677500 1004210238.454490500 1004210238.679567500 3621 <VOLENDAM@Malawi.com> local.EDAM@Frankrijk.com 6053 81
I have got the following script to set the time in normal gmt time
and to filter de failed messages, but i... (2 Replies)
Discussion started by: Prince2
2 Replies
9. Shell Programming and Scripting
Hi All,
I want to run a script on the hour during a 24 - hour period; easy enough cron will take care of that..however I want the script to only run for only 30mins..
so with the script it knows its 30mins are up so exits.
any ideas?
Any help, greatly appericated.
Thanking you all... (2 Replies)
Discussion started by: Zak
2 Replies
10. UNIX for Dummies Questions & Answers
Hi
I have a small req.
I have a script called as abc.sh
I want to execute this script continously for every 1 minute even if i exit from the server
i.e., it should keeps on running for every one minute even if i logged off
Can any one send me the sample code or procedure to work... (3 Replies)
Discussion started by: pssandeep
3 Replies