In our otrs cron job we have 2 GenericAgent.pl jobs listed (see below). One for every 20 mins and one every 10 mins. I see the command lines are slightly different, the 20 minute one doesn't have an arguments and the 10 minute one has "-c db". Would someone please explain what is the difference?
# start generic agent every 20 minutes
*/20 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
# example to execute otrs.GenericAgent.pl on 23:00 with
# Kernel::Config::GenericAgentMove job file
#0 23 * * * $HOME/bin/otrs.GenericAgent.pl -c "Kernel::Config::GenericAgentMove" >> /dev/null
# --
# cron/generic_agent - otrs.GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: generic_agent-database.dist,v 1.9 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# start generic agent every 10 minutes
*/10 * * * * $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
# --
# cron/pending_jobs - pending_jobs cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: pending_jobs.dist,v 1.12 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
Cron
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Cron
#this runs Kernel/Config/GenericAgent.pm, if it exists
*/20 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
#this runs what's in the database (what you set up through the web interface, Generic Agent)
*/10 * * * * $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
*/20 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
#this runs what's in the database (what you set up through the web interface, Generic Agent)
*/10 * * * * $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
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
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
-
- Znuny advanced
- Posts: 103
- Joined: 14 Nov 2012, 21:59
- Znuny Version: 3.1.6
- Real Name: Tom Nieman
- Company: WorkForce Software
Re: Cron
I looked at GenericAgent.pm. It looks like this is what does the escalations, right?
Speaking of that, our reminders are not sending an email in a timely manner, a reminder was set for yesterday afternoon, the email didn't come in until this morning.
Speaking of that, our reminders are not sending an email in a timely manner, a reminder was set for yesterday afternoon, the email didn't come in until this morning.