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 3459 Dec 28, 2004, 4:06 AM
Thread Re: [schubiman] Confusing problem with cronjob and subscriptions
Andy 3427 Dec 28, 2004, 6:04 AM
Thread Re: [Andy] Confusing problem with cronjob and subscriptions
schubiman 3384 Dec 28, 2004, 6:08 AM
Thread Re: [schubiman] Confusing problem with cronjob and subscriptions
Andy 3414 Dec 28, 2004, 6:13 AM
Thread Re: [Andy] Confusing problem with cronjob and subscriptions
schubiman 3388 Dec 28, 2004, 6:31 AM
Thread Re: [schubiman] Confusing problem with cronjob and subscriptions
Andy 3441 Dec 28, 2004, 7:10 AM
Post Re: [Andy] Confusing problem with cronjob and subscriptions
schubiman 3375 Dec 30, 2004, 2:23 AM
Thread Re: [schubiman] Confusing problem with cronjob and subscriptions
Alex 3352 Jan 4, 2005, 8:46 AM
Post Re: [Alex] Confusing problem with cronjob and subscriptions
schubiman 3361 Jan 5, 2005, 3:32 AM