Ad Widget

Collapse

Action

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ufocek
    Senior Member
    • Aug 2006
    • 161

    #1

    Action

    I have some log file where the line looks something like this: 093304,12;Vision works; the first is a time, second is a status and content.
    My question is, how I can add this line to default messages in action? Can I use some macros or regular expression?
  • ufocek
    Senior Member
    • Aug 2006
    • 161

    #2
    cat vision.log
    Code:
    091805; 00; Vision works correctly; 0
    092305; 00; Vision works correctly; 0
    092805; 00; Vision works correctly; 0
    093305; 00; Vision works correctly; 0
    093805; 12; Vision code 12; 1
    094305; 12; Vision code 12; 1
    094805; 12; Vision code 12; 1
    095305; 19; Vision code 19 1
    095805; 19; Vision code 19; 1
    The first of the log file is a time, how I can add and send all last line or only time in action messages?

    Comment

    Working...