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 ?
			
			
									
						
										
						Automatically create monthly tickets
Moderator: crythias
- 
				root
 - Administrator
 - Posts: 4281
 - Joined: 18 Dec 2007, 12:23
 - Znuny Version: Znuny and Znuny LTS
 - Real Name: Roy Kaldung
 - Company: Znuny
 - Contact:
 
Re: Automatically create monthly tickets
Hi,
Wait for Znuny 6.3.1, there is a feature for this.
- Roy
			
			
									
						
							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 ?
			
						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: 10170
 - Joined: 04 May 2010, 18:38
 - Znuny Version: 5.0.x
 - Location: SouthWest Florida, USA
 - Contact:
 
Re: Automatically create monthly tickets
I do this with mutt and crontab.
Something like:
			
			
									
						
							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
			
						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
Re: Automatically create monthly tickets
Hi,
yes, cron and you can pipe it directly to Postmaster Read.
Flo
			
			
									
						
							yes, cron and you can pipe it directly to Postmaster Read.
Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- 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.
			
						OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- 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.
Re: Automatically create monthly tickets
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
			
			
									
						
										
						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