Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
      syslog('info', $msg);
      closelog();
    }
    
  2. or download this
    00 05 * * 0 /etc/init.d/foo start
    00 22 * * 0 /etc/init.d/foo stop
    
  3. or download this
    00 05 * * 1-5 /etc/init.d/foo2 start
    00 22 * * 1-5 /etc/init.d/foo2 stop