#!/usr/bin/perl -w
open (OUT ,"> /Users/robin/env.cron") || die;
$ENV{'RUN_AT'}= localtime;
for $key(keys(%ENV)){ print OUT $key," = ",$ENV{$key},"\n"; }
close (OUT);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, however in the syslog I see:
Dec 17 14:52:01 white /usr/libexec/fix_prebinding: 2003-12-17 14:52:01 +0900: prebinding for perl done.
Dec 17 14:53:20 white /usr/libexec/fix_prebinding: /usr/bin/perl could not be launched prebound.
Dec 17 14:53:20 white /usr/libexec/fix_prebinding: /usr/bin/perl couldn't be prebound in the past, and probably can't be prebound now.
Dec 17 14:53:20 white /usr/libexec/fix_prebinding: 2003-12-17 14:53:20 +0900: prebinding for perl done.
Dec 17 14:53:35 white /usr/libexec/fix_prebinding: /usr/bin/perl could not be launched prebound.
Dec 17 14:53:35 white /usr/libexec/fix_prebinding: /usr/bin/perl couldn't be prebound in the past, and probably can't be prebound now.
Dec 17 14:53:35 white /usr/libexec/fix_prebinding: 2003-12-17 14:53:35 +0900: prebinding for perl done.
Dec 17 14:55:35 white /usr/libexec/fix_prebinding: fix_prebinding quitting for now.
what gives?
tia
Robin
