HI,
My requirement as below
Log with Error
Code:
[INFO 12-03-01:04:10:25] Starting FeedRunner for feed: 200 Product example Items
[INFO 12-03-01:04:12:40] Error FeedRunner for feed: 200 Product example Items
[INFO 12-03-01:04:20:25] Stopping FeedRunner for feed : 200 Product example Items Feed time taken 231743
Log without Error
Code:
[INFO 12-03-01:04:10:25] Starting FeedRunner for feed: 200 Product example Items
[INFO 12-03-01:04:20:25] Stopping FeedRunner for feed : 200 Product example Items Feed time taken 2743
-
What is the command to read last 15 minutes logs, for example my current time is 4:15PM and i need to read from 4:00PM to 4:15PM in the log mentioned above.
-
How to check for 3 strings using grep, for example "200|Product example|Error"
-
If 3 strings found print "success" or print "failed"
-
How to call a URL in shell script, for example "http://localhost/mcfeeds/runfeed?feedid=200"
Please help me on this
Regards
Paulwintech