Periodic Recurring Tasks in OTRS

Moderator: crythias

Post Reply
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Periodic Recurring Tasks in OTRS

Post by Gunjan »

Hi,

I am using OTRS 3.3.12. I want to create recurring tasks in OTRS like Outlook (Start, End, Priority, Status, % done, recurring every week, month, or quarter…) e.g. check user access rights every 3 months for auditor, copy photo of check in task.) I am new this concept. Could you please help me with it?

Regards,
Gunjan
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Periodic Recurring Tasks in OTRS

Post by RStraub »

You could either use a cron job / generic agent with a custom module, or most prefered, use the webinterface:

viewtopic.php?f=53&t=32070
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Periodic Recurring Tasks in OTRS

Post by Gunjan »

Thank you for the quick reply. Could you please explain the whole procedure (steps) for it?
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Periodic Recurring Tasks in OTRS

Post by RStraub »

Theres a lot of information in the manual:
http://otrs.github.io/doc/manual/admin/ ... rface.html

Please consult that first.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Periodic Recurring Tasks in OTRS

Post by Gunjan »

Hi,

Thank you for the information. Now I am able to make tickets using SOAPRequest.pl, but I want it to run automatically on a specific period. For now, I created a cron job to run this script on every 10 minutes. But when I see in the crontab.txt, that cron job is not visible. Could you please help me with that?

Code: Select all

# create ticket periodically every 10 minutes
*/10 * * * *    $HOME/bin/otrs.SOAPRequest.pl >> /dev/null
Regards,
Gunjan
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Periodic Recurring Tasks in OTRS

Post by RStraub »

contrab.txt ? Are you on windows ? I have no idea how to edit the cron there.

For *nix (and maybe windows!) it's enough to copy those 2 lines in a file into ~$Home/var/cron and restart the cron:
~$Home/bin/Cron.sh restart
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Periodic Recurring Tasks in OTRS

Post by Gunjan »

Yes I am on Windows. I din't add the line in Crontab.txt but I added the line in folder var/cron and it is not working.
Post Reply