I am able to successfully execute a perl script (assets1.pl) from the shell
(sh), but when I execute the same perl script via a cronjob it fails on the
following line of code:
open(INF, "<assets1.xml") or die "Could not open assets1.xml for input\n";
* As a result I get the message "Could not open assets1.xml for input" in
the cronjob owner's mail folder
----------------------------------------------------------------------------
---------------
assets1.xml does exist
assets1.xml has read and write privileges for owner, group, and other set
just to make sure this wasn't an issue
Thanks,
Mike
Change directory or give full path to open().
Gabor