How to run Cron Job every 2 mins for Generic Agent?

English! place to talk about development, programming and coding
Post Reply
swilliamrobert1982
Znuny newbie
Posts: 7
Joined: 17 Sep 2013, 05:00
Znuny Version: 3.1.1
Real Name: William
Company: Xchanging

How to run Cron Job every 2 mins for Generic Agent?

Post by swilliamrobert1982 »

Hi,

I need to run generic agent cron job for every 2 mins. I want change one queue to another queue after created ticket. Its not run every 2 mins .

please advice me how to set in linux?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to run Cron Job every 2 mins for Generic Agent?

Post by jojo »

the Generic Agent in the interface can only run with a minimum interval of 10 minutes. If you want to use the file based config fot the Generic Agent, have a look at the cron manual via

Code: Select all

man 5 crontab
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to run Cron Job every 2 mins for Generic Agent?

Post by crythias »

swilliamrobert1982 wrote:I need to run generic agent cron job for every 2 mins. I want change one queue to another queue after created ticket. Its not run every 2 mins .
1) Why not create the ticket in the destination queue?
2) Why use a generic agent? This is a Ticket Event.
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
Post Reply