Ok thanks Sherm that was the problem, I presume the prebinding errors are because perl is being passed the equivalent of
\"quoted/data\"
and the fall out registers as a prebinding error


thanks again

Robin




On Wednesday, December 17, 2003, at 05:37 pm, Sherm Pendley wrote:


On Dec 17, 2003, at 1:02 AM, Robin wrote:

I have the following script

...snip...


which runs as expected from the command line, but entered in my (admin) crontab thus

5 * * * * "/Users/robin/cron.pl"

outputs nothing, not even errors

Output from a cron script is emailed to the user, unless otherwise redirected. IIRC, local mail delivery isn't enabled by default, so any errors generated by your script are probably getting lost in the > ether.


Try redirecting both stdout & stderr to a file, like this:

5 * * * * /Users/robin/cron.pl > /tmp/cronout.txt 2>&1

Note the lack of quotation marks - In the tests I ran, cron would silently refuse to run my script if I quoted it. That's probably what's happening in your case.

sherm--

Reply via email to