|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
can you post the sample log lines
otherwise, i cant help you |
| Sponsored Links | ||
|
|
#9
|
|||
|
|||
|
Condition 1:-For Shutdown
PHP Code:
PHP Code:
|
| Sponsored Links | ||
|
|
#10
|
||||
|
||||
|
in the old code, i didnt use the Code:
IF InStr(FileText,"shutdown") or Instr(FileText,"terminating instance") Then |
|
#11
|
|||
|
|||
|
I want to use this both the condition in the script "shutdown" & Terminating Instance".
|
| Sponsored Links | |
|
|
#12
|
||||
|
||||
|
Code:
IF InStr(FileText,"shutdown") Then IF Instr(FileText,"terminating instance") Then ........... .......... .......... End IF End IF |
| Sponsored Links | |
|
|
#13
|
|||
|
|||
|
Thanks for update.
given conditions are placed in the script but its not filtering the words "Shutdown" & "terminated Instance" please suggest. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cron to schedule job at different times | apjneeraj | Shell Programming and Scripting | 2 | 05-24-2011 08:08 AM |
| Best way to schedule script to run Ubuntu 10.04 | glev2005 | UNIX for Dummies Questions & Answers | 1 | 02-04-2011 12:42 PM |
| Schedule a script to run at 10am from mon to fri | firestar | Shell Programming and Scripting | 7 | 01-21-2011 12:24 PM |
| How to schedule my script without crontab | prashant43 | Shell Programming and Scripting | 3 | 06-08-2009 11:49 AM |
| Script Schedule Scrutiny | geralex2 | Shell Programming and Scripting | 2 | 08-29-2006 03:52 AM |
|
|