[solved] OTRS Daemon not executing cronjobs

Moderator: crythias

Post Reply
Flippo
Znuny newbie
Posts: 9
Joined: 29 Mar 2019, 12:33
Znuny Version: 6.0.17
Real Name: Philip G
Company: N&M

[solved] OTRS Daemon not executing cronjobs

Post by Flippo »

Hello.
My OTRS Daemon is not executing the cronjobs I configured in the systemconfig.

/opt/otrs/bin/otrs.Daemon.pl status answers with "Daemon running"
/opt/otrs/bin/Crons.sh is started
/opt/otrs/bin/otrs.Console.pl Maint::Daemon::List returns "SchedulerCronTaskManager" and 4 other
/opt/otrs/bin/otrs.Console.pl Maint::Daemon::Summary returns "[...] Handled Worker Tasks: There are currently no tasks being executed."

If I define a task in the systemwide crontab, it is executed as defined.
(e.g. */1 * * * * /opt/otrs/bin/otrs.Console.pl Maint::PostMaster::MailAccountFetch fetches my Postmaster Mails each minute)

I run otrs 6 on debian and restarted the machine mulitple times.

I am clearly missing something here. Any Ideas?
Thank you!
Last edited by Flippo on 24 Apr 2019, 14:02, edited 1 time in total.
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS Daemon not executing cronjobs

Post by root »

Hi,

The Daemon does not handle system wide cronjobs. He's responsible for jobs configured via the System Configuration. Anyway, fetching every minute is the wrong design for inbound e-mail. Switch to a a Postfiix/MTA and procmail solution.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Flippo
Znuny newbie
Posts: 9
Joined: 29 Mar 2019, 12:33
Znuny Version: 6.0.17
Real Name: Philip G
Company: N&M

Re: OTRS Daemon not executing cronjobs

Post by Flippo »

Thanks roy. This wasn't about inbound Mail though but about not executing cronjobs at all.
I had to reinstall to fix this. Whatever the issue was.
Post Reply