Hi everyone,
I need to put my otrs creating recurring tickets. I know that I can do a cront with an email be sent but my boss don't like this solution.
So I have seen this viewtopic.php?f=53&t=32070
Can someone help me to put it working? I don't understand so much how this work.
Recurring Ticket
Moderator: crythias
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Recurring Ticket
You don't even need to send an email, you could also just read a template "directly" into OTRS. There are some test emails used by the framework to do so.
For example, create a cronjob:
where the .box file could look like:
For example, create a cronjob:
Code: Select all
07 08 * * 1-5 $HOME/bin/otrs.Console.pl Maint::PostMaster::Read < $HOME/Custom/Mails/MailToBeProcessed.box
Code: Select all
From automated-tasks@YourDomain.com Fri Dec 21 23:59:24 2001
Return-Path: <noreply@YourDomain.com>
Received: (from skywalker@localhost)
by avro.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id f3MMSE303694
for martin@localhost; Fri, 21 Dec 2001 23:59:24 +0200
Date: Fri, 21 Dec 2001 23:59:24 +0200
From: Automated Task Handler <noreply@YourDomain.com>
To: Valid@EmailAdressOfYourSystem.com
Subject: [Automated Task] Title here
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Please do this and that.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS