email_metawiki_138 at wg-karlsruhe.de
Sat Jan 8 08:46:39 UTC 2011
since we changed to Solaris I'm not able to start my perl-script via cron.
I'm using the example given at
https://wiki.toolserver.org/view/Cronsub#cronsub for my cronjob:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /opt/local/bin/cronsub -s
seth-vdetector % /usr/bin/perl $HOME/bots/vdetector.pl >/dev/null
the old (working) code was:
*/5 * * * * nice -n 10 /usr/local/bin/phoenix
/home/seth/phoenix-seth-vdetector /usr/bin/perl $HOME/bots/vdetector.pl
Now the file seth-vdetector.out contains error messages
Base class package "Bot::BasicBot" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains:
/opt/ts/perl/5.12/lib/vendor_perl/5.12 /opt/ts/perl/5.12/lib/5.12 .).
at /home/seth/bots/vdetector.pl line 9
BEGIN failed--compilation aborted at /home/seth/bots/vdetector.pl line 9.
What does that mean? At Linux there hasn't been such an error.
The perl line which seems to generate the error is
use base qw( Bot::BasicBot );
I asked about Basic::Bot more than 9 months ago, but did not get any
Since 2010-01-08 02:25 (UTC) I'm getting additional cron error messages
/opt/local/bin/cronsub: shift: bad number
I guess, this has to do with river's change. But I don't know what to
to, since $HOME/bots/vdetector.pl is already at -rwxr-xr-x.
Can anybody help?
thx and bye
More information about the Toolserver-l