10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am looking for a script which will work as a watch directory.
I ha directory which keep getting files in every 10 mins and some time delay.
I want to monitor if the directory getting the files in every 10 mins if not captured the last received file time and calculate the delay.
... (6 Replies)
Discussion started by: sadique.manzar
2. UNIX for Dummies Questions & Answers
I have an issue which I'm trying to understand a way of doing, I have several nodes which contain syslog events which I want to force trigger an email initially (eventually leading to another method of alerting but to start with an email).
Basically the syslog file will have hours worth... (6 Replies)
Discussion started by: mutley2202
3. Shell Programming and Scripting
I am very new to shell scripting. I have written a script with help of this forum and some googling and it works the way I want it to. Currently this script checks for my SIP trunk registration every 5 seconds, if registration is not available then it reboots my router through telnet... (4 Replies)
Discussion started by: jeetz
4. Shell Programming and Scripting
Since I m new to shell, I had a hard time to sought out this problem.
I have a log file of a utility which tells that batch files are successful with timestamp. Given below is a part of the log file.
2013/03/07 00:13:50 Apache/1.3.29 (Unix) configured -- resuming normal operations... (12 Replies)
Discussion started by: rpm120
5. UNIX for Advanced & Expert Users
Test job to make sure pwctest service is up
Test script which can run every 30 mins to make sure pwctest is available.
a) If Error , script should send email to Tech.
plz help me out for this script
i'm waiting for reply.....plz (7 Replies)
Discussion started by: ksrivani
I've to do a simple job many times whenever it has been asked, just i've to log in to all of fourtien HP servers and i've to execute
ps -fu user > temp
cat temp|sendmail "email@example.com"
commands to send the statics of all of 14 servers over the mail to particular user id..
Though logging... (4 Replies)
Discussion started by: vickramshetty
7. Shell Programming and Scripting
I would like to write a script which will search a file say abc.dat in /a/b/data for 15 mins only. If the script finds the file in 15 mins then it will exit will exit sucessfully and if there is no file for 15 mins it will exit and copy the last day file (abc.dat_ddmmyyhhmmss) from... (1 Reply)
Discussion started by: chandancsc
8. Shell Programming and Scripting
I want to execute a shell script,whlie system is booting.
I was try using /etc/rc.d/rc.local file but its not working. (1 Reply)
Discussion started by: rajamohan
9. UNIX for Advanced & Expert Users
is it possible to automatically run a script (bash) when an event occurs?
I mean, let's say that I (or one of my users) plug in a flash memory (USB) ... is it possible to run a script every time I do this action (let's say to log user, date and other infos on a file)?
Bye... (5 Replies)
Discussion started by: TShirt
10. UNIX for Dummies Questions & Answers
I need to write a script to kill some processes running for more than 10 minutes. Can I get some pointers on that. Thanks for ur help in Advance.
Amit (3 Replies)
Discussion started by: amitsayshii