in reply to Re^9: Read UNIX environment variable
in thread Read UNIX environment variable

The cron daemon usually sends the output of a program via mail to the owner submitting the job. Find out how to configure your cron daemon to do that, and/or consult with your system administrator how to modify your system setup to do this.

Alternatively, write debugging information from your program to a file so you can see how your program progresses and what values it finds, and where.

Replies are listed 'Best First'.
Re^11: Read UNIX environment variable
by Anonymous Monk on Feb 09, 2011 at 15:15 UTC
    Thanks, problem solved. Sysadmins had locked the cron account.