Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
       $SIG{CHLD} = 'IGNORE';
       exit(1);
    }
    
  2. or download this
    watchdog -t 7200 perl -le'print("done")'
    
  3. or download this
    # Gets terminated
    watchdog -t 7200 perl -le'sleep(3*60*60); print("done")'
    
  4. or download this
    # Gets killed
    watchdog -t 7200 perl -le'$SIG{TERM}="IGNORE"; sleep(10800); print("do
    +ne")'