Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
* * * * * /home/httpd/vhosts/mysite.com/cgi-bin/deleteFiles.pl?docume +ntroot=/home/user/directory
* * * * * /home/httpd/vhosts/mysite.com/cgi-bin/deleteFiles.pl /home/ +user/directory
#!/usr/bin/perl use CGI; use DBI; my $query=new CGI; print $ARGV[0]; my $documentroot=$query->param("documentroot"); print $documentroot; exit 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running Perl Script from Crontab
by Corion (Patriarch) on Apr 13, 2004 at 16:17 UTC | |
|
Re: Running Perl Script from Crontab
by Plankton (Vicar) on Apr 13, 2004 at 16:18 UTC | |
|
Re: Running Perl Script from Crontab
by blue_cowdawg (Monsignor) on Apr 13, 2004 at 16:20 UTC | |
|
Re: Running Perl Script from Crontab
by ambrus (Abbot) on Apr 13, 2004 at 17:11 UTC | |
|
Re: Running Perl Script from Crontab
by runrig (Abbot) on Apr 13, 2004 at 20:08 UTC | |
by Anonymous Monk on Apr 14, 2004 at 12:09 UTC | |
|
Re: Running Perl Script from Crontab
by ParseException (Novice) on Apr 13, 2004 at 19:25 UTC |