Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    # weather_watch.pl
    ...
        syslog("info", "Shutting down");
        closelog();
    }
    
  2. or download this
    #!/usr/bin/perl
    # weathermon
    ...
     
        pid_file    => '/tmp/weathermon.pid',
    )->run;
    
  3. or download this
    % ./weathermon status                   
    Weather watch daemon                                      [Not Running
    +]
    ...
    Weather watch daemon                                          [Stopped
    +]
    Weather watch daemon                                          [Started
    +]
    %