As your test.out file is empty, I suppose the script isn't being run at all — otherwise it should at least contain the output of your print statement(s), irrespective of whether the DB call succeeded...
Maybe perl isn't found along whatever PATH is set to for the cron job? Try specifying the full path. Also try appending 2>&1 at the end of the command to redirect stderr to the file, too.
In reply to Re: perl /cron /DBI
by almut
in thread perl /cron /DBI
by rabie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |