Execute Crontab Command
Generic Agent.pl File[root@OTRS ~]# crontab -l -u root
# --
# cron/generic_agent - GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: generic_agent.dist,v 1.12 2009/02/16 20:53:10 tr 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 20 minutes
*/20 * * * * $HOME/bin/GenericAgent.pl >> /dev/null
# example to execute GenericAgent.pl on 23:00 with
# Kernel::Config::GenericAgentMove job file
#0 23 * * * $HOME/bin/GenericAgent.pl -c "Kernel::Config::GenericAgentMove" >> /dev/null
You have mail in /var/spool/mail/root
Messages being delivered to my root log# --
# cron/generic_agent - GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: generic_agent.dist,v 1.12 2009/02/16 20:53:10 tr 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 20 minutes
*/20 * * * * $HOME/bin/GenericAgent.pl >> /dev/null
Operating system and OTRS version are in signature. What am I missing? Why isn't this agent running?From root@OTRS.localdomain Fri Aug 30 16:00:01 2013
Return-Path: <root@OTRS.localdomain>
X-Original-To: root
Delivered-To: root@OTRS.localdomain
Received: by OTRS.localdomain (Postfix, from userid 0)
id 40D3012113F; Fri, 30 Aug 2013 16:00:01 -0700 (PDT)
From: root@OTRS.localdomain (Cron Daemon)
To: root@OTRS.localdomain
Subject: Cron <root@OTRS> $HOME/bin/GenericAgent.pl >> /dev/null
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20130830230001.40D3012113F@OTRS.localdomain>
Date: Fri, 30 Aug 2013 16:00:01 -0700 (PDT)
/bin/sh: /root/bin/GenericAgent.pl: No such file or directory