Changeset a141f475cb3a0e6ef6406dfc7d03920473578af9
- Timestamp:
- 08/28/02 21:33:55
(16 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1030570435 +0000
- git-parent:
[c0499d5d2b9829dbf8ed5c2092a24b03b8d27e9f]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1030570435 +0000
- Message:
betauto for FEW
git-svn-id: https://labs.omniti.com/resmon/trunk@15 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
rc0499d5 |
ra141f47 |
|
16 | 16 | $datematcher .= POSIX::strftime("%Y", localtime($thistime)); |
---|
17 | 17 | |
---|
18 | | open(TF, "tail -4 $file1|"); |
---|
| 18 | open(TF, "tail -5 $file1|"); |
---|
19 | 19 | my $state = 0; |
---|
20 | 20 | while(<TF>) { |
---|
… | … | |
26 | 26 | ($state==1) && /sublotto/ && ($state = 2); |
---|
27 | 27 | ($state==2) && /fwlotto/ && ($state = 3); |
---|
28 | | ($state==3) && /Finish insert bets/ && ($state = 4); |
---|
| 28 | ($state==3) && /flezwin/ && ($state = 4); |
---|
| 29 | ($state==4) && /Finish insert bets/ && ($state = 5); |
---|
29 | 30 | } |
---|
30 | 31 | close(TF); |
---|
31 | | if($state != 4 || $error) { |
---|
| 32 | if($state != 5 || $error) { |
---|
32 | 33 | return set_status($arg, "BAD($error)"); |
---|
33 | 34 | } |
---|
34 | | return set_status($arg, "OK()"); |
---|
| 35 | return set_status($arg, "OK(log line expected)"); |
---|
35 | 36 | }); |
---|
36 | 37 | |
---|