![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Files manipulation with time comparison | sksahu | Shell Programming and Scripting | 2 | 08-25-2008 05:47 PM |
| Pattern manipulation in korn shell script using sed. | ajilesh | Shell Programming and Scripting | 3 | 08-22-2008 06:09 AM |
| need help in time manipulation | ali560045 | Shell Programming and Scripting | 6 | 03-11-2008 10:41 AM |
| shell script : text manipulation (easy quesiton) | champion | Shell Programming and Scripting | 3 | 07-01-2002 04:10 AM |
| Time/date manipulation | choice | High Level Programming | 1 | 02-01-2002 04:06 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi all,
I have a script that requires time comparisons and sending out an email alert only if the specified interval has been completed. The script runs in Cron tab every 5 mins. For ex: If the interval is set to 2 hrs (Dynamic & varies ) My script should execute and if it finds any error conditions during the execution, It will page an alert. In the next cycle if the script finds the same error, It should not page error mail again. ie., It should page only after the above mentioned 2 hrs. I used GAWK-Strftime function to achieve this. But later came to know the package has restrictions and should not be used in my server. Is there a way this can be achieved with any of the Solaris inbuilt utilities or functions ? Please help !! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|