Generic Agent scheduler

Moderator: crythias

Locked
rvaldomir
Znuny expert
Posts: 155
Joined: 04 Aug 2014, 23:59
Znuny Version: 3.3.8
Real Name: Roberto A. Valdomir

Generic Agent scheduler

Post by rvaldomir »

Hi,

I created some jobs to assign SLA depending on the severity and it is running as expected.

Now I need to run other new jobs but in diferent times to assign a new SLA that will be created. This jobs must run only the first week (non business hours) of the following months January, April, July and October.

any idea how to run a specific Job using the Generic Agent? I mean Ifcould be triggered by the cron using the command:

$HOME/bin/otrs.GenericAgent.pl -c db

but will run all the jobs.
​Roberto A. Valdomir
Mobile: (+598) 93 868 147 | Skype: roberto.a.valdomir
@roberto.valdomir | re.vu/robertovaldomir

----------------------------------------------------------------------------------------
OTRS 3.3.8 | RHEL 6 x64 | Oracle 11g | Custom Development by OTRS365
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Generic Agent scheduler

Post by crythias »

If you program it, you can schedule it...
Check your GenericAgent.pm example As well as how it's triggered in var/cron/genericagent

You can use a specific one according to cron that way.
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
rvaldomir
Znuny expert
Posts: 155
Joined: 04 Aug 2014, 23:59
Znuny Version: 3.3.8
Real Name: Roberto A. Valdomir

Re: Generic Agent scheduler

Post by rvaldomir »

Solved!
​Roberto A. Valdomir
Mobile: (+598) 93 868 147 | Skype: roberto.a.valdomir
@roberto.valdomir | re.vu/robertovaldomir

----------------------------------------------------------------------------------------
OTRS 3.3.8 | RHEL 6 x64 | Oracle 11g | Custom Development by OTRS365
Locked