Pause Email

Moderator: crythias

Post Reply
cgr
Znuny newbie
Posts: 14
Joined: 07 Apr 2017, 07:08
Znuny Version: 6.0.4
Real Name: Christian Graebener
Company: Evotec AG

Pause Email

Post by cgr »

Hello,

is there a simple way to stop OTRS vom fetching mail during a regular period of time?

I would like to stop it because each night when our Exchange-Servers restart to apply updates I get error messages for about ten minutes.

Best

Christian
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Pause Email

Post by zzz »

Hello Christian,

not as far as I know but you could create a second cronjob which stops/starts the OTRS daemon at certain times.

Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Pause Email

Post by reneeb »

Then don't forget to change the watchdog cronjob that regularly checks if the daemon runs...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
lido
Znuny newbie
Posts: 70
Joined: 25 Oct 2017, 16:21
Znuny Version: 6.0.5

Re: Pause Email

Post by lido »

Couldn't you change the "Daemon::SchedulerCronTaskManager::Task###MailAccountFetch" (or the appropriate fetch for your case like fetchmail, etc) cron type configuration to exclude the times/days your server is undergoing maintenance?
cgr
Znuny newbie
Posts: 14
Joined: 07 Apr 2017, 07:08
Znuny Version: 6.0.4
Real Name: Christian Graebener
Company: Evotec AG

Re: Pause Email

Post by cgr »

Thats a great idea will try that-. Thank you !
jbaptiste
Znuny advanced
Posts: 104
Joined: 01 Aug 2015, 03:45
Znuny Version: 6.0.x
Contact:

Re: Pause Email

Post by jbaptiste »

Can this setting be set via command line as it was possible in previous versions ?
Want to run OTRS on docker ? checkout my OTRS on docker HOWTO | Project's github page
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Pause Email

Post by reneeb »

no
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Pause Email

Post by root »

Hi,

Receiving the error messages should be switched when to change your setup from pulling to pushing e-mails (hint: .procmailrc)

- 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 ?
Post Reply