#!/usr/bin/perl
#-->cgi:/home/jj/public_html/bin/d9
#-->dir:/tmp/lixo
use strict;
use CGI::Auto;
CGI::Auto::auto(title => "Current processes",
command => "ps -aux > [%outfile(ps.txt)]",
type => "batch",
email => { type => "attach" },
debug => 1,
##output => ['out']
);