/[mon-modules]/sms.alert
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sms.alert

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by dpavlin, Thu Feb 6 12:12:36 2003 UTC revision 1.5 by dpavlin, Fri Feb 14 14:52:02 2003 UTC
# Line 71  my $ALERT = $opt{u} ? "UPALERT" : "ALERT Line 71  my $ALERT = $opt{u} ? "UPALERT" : "ALERT
71    
72  my $sms = "From: mon\n";  my $sms = "From: mon\n";
73  $sms .= "Flash: yes\n" if $opt{f};  $sms .= "Flash: yes\n" if $opt{f};
74  $sms .= "\n$ALERT $opt{g}/$opt{s} $summary ($wday $mon $day $tm)\n";  $sms .= "\n$ALERT";
75    $sms .= " $opt{g}/$opt{s}" if ($opt{g} && $opt{s});
76    $sms .= " $summary ($wday $mon $day $tm)\n";
77  # add next alter time  # add next alter time
78  $sms .= "Secs until next alert: $opt{l}\n" if $opt{l};  $sms .= "Secs until next alert: $opt{l}\n" if $opt{l};
79  # add rest of text  # add rest of text

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.26