Hi all,

Am 22.11.2009 um 02:52 schrieb Alexander Halle:

Leonardo Certuche wrote :
[...]
I first tried decreasing the crontab time for the GenericAgent.pl:
*/2 * * * *    $HOME/bin/GenericAgent.pl >> /dev/null
But that seems not to work :(
[...]

I think that there are two sorts of GenericAgent jobs, those who are configured in the GUI and saved in the database and those who are saved as separate files.
I guess that the file jobs are called by the crontab line you modified and that there is a second GenericAgent call in the crontab with parameter "-c db" for the db jobs.
So I assume that you use a db job and therefor have to modify the other GenericAgent call.

there are 2 cronjob definition files in OTRS.

The one which is calling the GenericAgent.pl with "-c db" is executed every 10 minutes, keep this as it is so the GUI is not lying ;-)

The other one is executing GenericAgent.pl with "-c 'Kernel::Config::GenericAgent'" ... this is an example config ... you can create your own Config Files in Kernel/Config/ (e.g. MyGenericAgentMoveSLATicket2Queue123.pm ... etc.) and let the cronjob execute this job as you need.


Nils Leideck

-- 
Nils Leideck
Senior Consultant
nils.leideck@leidex.net

https://webint.cryptonode.de / a Fractal project