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 have a script that runs every hour from the crontab (see the settings of the crontab below) (15 mins past the hour)
15 * * * * /home/usr/usr1/ProvAll
This script saves two files in the following format
file1.$now (for example)
file1.20140722.031502... (12 Replies)
Discussion started by: knijjar
4. 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
5. 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
I want to grep only last 5 mins of a log file in bash
I have a syslog which contains the following
Mon Jul 11 20:47:42
Mon Jul 11 20:47:52
The following works in Unix but not in AIX . Please can you let me know as to what would be the AIX equivalent
Code: for (( i = 5; i >=0;... (1 Reply)
Discussion started by: necro98
7. 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
8. Shell Programming and Scripting
We have to monitor a FTP utility where we have to monitor for checking presence of a file in directory With max time allowed for a file to stay in the directory on FTP client server as 10 mins.
The only way we are going to be able to do what we are lookign for is to write a script to... (1 Reply)
Discussion started by: vivkas
9. Shell Programming and Scripting
I have a requirement that a script need to be executed automatically every 10 mins. how is this possible.
lots of logs are created as a part of process and the logs need to be moved into a directory.
how is this possible ? (1 Reply)
Discussion started by: suresh_kb211
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