Automatically create monthly tickets

Moderator: crythias

Post Reply
Klicker
Znuny newbie
Posts: 8
Joined: 20 Oct 2020, 16:06
Znuny Version: 7.21
Real Name: Tim Otto

Automatically create monthly tickets

Post by Klicker »

Hey Guy,
how can i create monthly tickets automatically ? I want to have the same ticket every month. Like a reminder.
Because my system uses SSO, I don't want to create a shell script with a username and password in clear text and start it via CronJob. Do you have any other ideas ?
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Automatically create monthly tickets

Post by root »

Hi,

Wait for Znuny 6.3.1, there is a feature for this.

- 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 ?
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Automatically create monthly tickets

Post by crythias »

I do this with mutt and crontab.

Something like:

Code: Select all

00 9 1 * * echo "Don't forget to do this monthly thing" | mutt otrs@otrsdomain.com -s "Monthly Event Subject"
00 9 1 * * cat /path/to/emailbody.txt | mutt otrs@otrsdomain.com -s "Another Monthly Event Subject"
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
wurzel
Znuny guru
Posts: 3225
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Automatically create monthly tickets

Post by wurzel »

Hi,

yes, cron and you can pipe it directly to Postmaster Read.


Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Klicker
Znuny newbie
Posts: 8
Joined: 20 Oct 2020, 16:06
Znuny Version: 7.21
Real Name: Tim Otto

Re: Automatically create monthly tickets

Post by Klicker »

For everyone who wants to know how it works.
https://doc.znuny.org/doc/manual/admin/ ... tings.html (Via Command Line Program and Procmail (otrs.Console.pl Maint::PostMaster::Read))

Thank you guys

Code: Select all

*/5 * * * * cat doc/sample_mails/test-Email-utf8.box | bin/otrs.Console.pl Maint::PostMaster::Read
Post Reply