[Toolserver-l] cronsub

seth email_metawiki_138 at wg-karlsruhe.de
Sat Jan 8 08:46:39 UTC 2011


Hi,

since we changed to Solaris I'm not able to start my perl-script via cron.

1.
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
>/dev/null

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/share/vendor_perl /opt/ts/perl/5.12/lib/site_perl/5.12
/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
answer. :-(
https://wiki.toolserver.org/w/index.php?title=Conversion_of_nightshade_to_Solaris&action=historysubmit&diff=3685&oldid=3680

2.
Since 2010-01-08 02:25 (UTC) I'm getting additional cron error messages
by e-mail:

/opt/local/bin/cronsub[38]: 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
seth



More information about the Toolserver-l mailing list