Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w 
    use strict;
    ...
    system(sprintf "pwd >> %s",$logfile);
    
    exit(0);
    
  2. or download this
    $ echo "/path/to/my/script/above.pl ascron" | at now
    
  3. or download this
    $ /path/to/my/script/above.pl ascmdlin
    
  4. or download this
    diff /tmp/ascron-env.txt /tmp/ascmdlin-env.txt