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
Pause Email
Moderator: crythias
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Pause Email
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
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
Free and premium add-ons: German | English
-
- 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
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Pause Email
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?
-
- 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
Thats a great idea will try that-. Thank you !
Re: Pause Email
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
-
- 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
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Administrator
- Posts: 3961
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Pause Email
Hi,
Receiving the error messages should be switched when to change your setup from pulling to pushing e-mails (hint: .procmailrc)
- Roy
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 ?
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 ?