Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "Script says: 'Hey, I just started running!'\n";
    sleep 60; # or whatever
    print "Script says: 'Boy, I'm bushed! I'm gonna go lie down.'\n";
    
  2. or download this
    #!/usr/bin/perl
    
    # check_if_its_running.pl
    ...
    sub start_it {
        system("perl always_be_running.pl");
    }