MailAccountFetch task not being called in Otrs 5.0.3

Moderator: crythias

Locked
jshowma
Znuny newbie
Posts: 6
Joined: 24 Nov 2015, 01:08
Znuny Version: 5.0.4

MailAccountFetch task not being called in Otrs 5.0.3

Post by jshowma »

If I run "bin/otrs.Console.pl Maint::PostMaster::MailAccountFetch" by hand it works.

But the cron task doesn't seem to call that function:

Recurrent cron tasks:
NAME LAST EXECUTION LAST STATUS LAST DURATION NEXT EXECUTION
MailAccountFetch 2015-12-02 09:30:00 Success < 1 Second 2015-12-03 13:45:00

Handled Worker Tasks:
NAME TYPE NID PID DURATION
MailAccountFetch Cron 001 00012837 1.2 Day(s)

I added a line of code to "/opt/otrs/Kernel/System/Console/Command/Maint/PostMaster/MailAccountFetch.pm to force it to log itself when loaded.
It only logs if I run that console command by hand.

Restarted the server...same problem.

How can we fix this?
depo
Znuny newbie
Posts: 5
Joined: 21 May 2015, 14:29
Znuny Version: Version 3

Re: MailAccountFetch task not being called in Otrs 5.0.3

Post by depo »

same here, but it worked on 5.0.3, but stopped after upgrading to 5.0.4
jshowma
Znuny newbie
Posts: 6
Joined: 24 Nov 2015, 01:08
Znuny Version: 5.0.4

Re: MailAccountFetch task not being called in Otrs 5.0.3

Post by jshowma »

I added this to our Kernel/Config.pm:

$Self->{FQDN} = 'support.example.com';

It didn't need it before, but in the same version it suddenly needs it now. Weird. Now it seems to be working again, although still not getting notifications of follow-ups.
Locked