Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Confusing problem with cronjob and subscriptions

Quote Reply
Confusing problem with cronjob and subscriptions
To send the daily subscription notifications a daily cronjob is configured:

00 6 * * * /%PATH_TO_BOARD%/admin/cron/subscribe.pl --send

But it dies with
GT::SQL::Relation (822): Unknown method 'fetchrow_arrayref' called at /%PATH_TO_BOARD%/admin/GForum/Subscribe.pm line 34

After a little debugging i found out, that in Subscribe.pm after

my $sth = $DB->table('ForumSubscriber', 'User', 'Forum', 'Category')->select;

$sth is still not defined. But $DB->table('ForumSubscriber', 'User', 'Forum', 'Category') is defined.

And to complete my confusion: When i start "subscribe.pl --send" manually, everything work fine.

Do anybody have some help for me?

PS: Sorry for my maybe not so good english.

Last edited by:

schubiman: Dec 28, 2004, 4:12 AM
Subject Author Views Date
Thread Confusing problem with cronjob and subscriptions schubiman 5516 Dec 28, 2004, 4:06 AM
Thread Re: [schubiman] Confusing problem with cronjob and subscriptions
Andy 5439 Dec 28, 2004, 6:04 AM
Thread Re: [Andy] Confusing problem with cronjob and subscriptions
schubiman 5383 Dec 28, 2004, 6:08 AM
Thread Re: [schubiman] Confusing problem with cronjob and subscriptions
Andy 5407 Dec 28, 2004, 6:13 AM
Thread Re: [Andy] Confusing problem with cronjob and subscriptions
schubiman 5387 Dec 28, 2004, 6:31 AM
Thread Re: [schubiman] Confusing problem with cronjob and subscriptions
Andy 5437 Dec 28, 2004, 7:10 AM
Post Re: [Andy] Confusing problem with cronjob and subscriptions
schubiman 5376 Dec 30, 2004, 2:23 AM
Thread Re: [schubiman] Confusing problem with cronjob and subscriptions
Alex 5354 Jan 4, 2005, 8:46 AM
Post Re: [Alex] Confusing problem with cronjob and subscriptions
schubiman 5370 Jan 5, 2005, 3:32 AM