in reply to Re: Perl Module Not Working In Crontab
in thread Perl Module Not Working In Crontab
basically the Perl module Archive::Extract works manually but will not work via crontab -
:D
"does not work" is not diagnostic :)
turn on debugging, all things have debugging, even crontab
$Archive::Extract::DEBUG = 1;
Start reading these to see a typical crontab story :) The problem is usually basic path managment. A relative path to the program, wrong path to perl on shebang, an assumed Cwd, wrong module path ( %INC ) or other %ENV , wrong permissions, not checking for errors, not reading error messages, wrong path again :)
- system command is not working
- I have some problem with Crontab
- perl file doesn't execute
- script fails loading module version, but > version is installed
- CGI Help Guide , Troubleshooting Perl CGI scripts
|
---|
In Section
Seekers of Perl Wisdom