Changeset a141f475cb3a0e6ef6406dfc7d03920473578af9

Show
Ignore:
Timestamp:
08/28/02 21:33:55 (12 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
  • BETAUTO.pl

    rc0499d5 ra141f47  
    1616  $datematcher .= POSIX::strftime("%Y", localtime($thistime)); 
    1717 
    18   open(TF, "tail -4 $file1|"); 
     18  open(TF, "tail -5 $file1|"); 
    1919  my $state = 0; 
    2020  while(<TF>) { 
     
    2626    ($state==1) && /sublotto/ && ($state = 2); 
    2727    ($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); 
    2930  } 
    3031  close(TF); 
    31   if($state != 4 || $error) { 
     32  if($state != 5 || $error) { 
    3233    return set_status($arg, "BAD($error)"); 
    3334  } 
    34   return set_status($arg, "OK()"); 
     35  return set_status($arg, "OK(log line expected)"); 
    3536}); 
    3637