essentially, Cron.sh cats all the otrs/var/cron/* files into the otrs crontab.
check to make sure the files are all .dist or without .dist, and no other cruft exists in that folder as the files' contents will be added verbatim to cron. (all files without .dist in linux, all files, period, (IIRC) in windows).


On Sat, Dec 15, 2012 at 1:17 PM, Nick Lapp <Nick.Lapp@imesd.k12.or.us> wrote:

Hello all!

 

I just updated from 3.1.10 to 3.1.12 and for some reason my generic agent jobs stopped running.  I did a bit of research and I think I found the issue but am not sure how to resolve it.  Below are the commands that I have run and their results:

 

[root@IMESD-OTRS bin]# crontab -l -u root

no crontab for root

[root@IMESD-OTRS bin]# crontab -l -u otrs

no crontab for otrs

[root@IMESD-OTRS bin]# ./Cron.sh restart otrs

/opt/otrs/bin

Cron.sh - start/stop OTRS cronjobs - <$Revision: 1.19 $>

Copyright (C) 2001-2009 OTRS AG, http://otrs.org/

/opt/otrs/bin

Cron.sh - start/stop OTRS cronjobs - <$Revision: 1.19 $>

Copyright (C) 2001-2009 OTRS AG, http://otrs.org/

no crontab for otrs

failed

/opt/otrs/bin

Cron.sh - start/stop OTRS cronjobs - <$Revision: 1.19 $>

Copyright (C) 2001-2009 OTRS AG, http://otrs.org/

"/opt/otrs/var/tmp/otrs-cron-tmp.1748":109: bad minute

errors in crontab file, can't install.

Failed

 

I also verified the following lines in the generic agent cron files:

/opt/otrs/var/cron/generic_agent

                */20 * * * *    $HOME/bin/otrs.GenericAgent.pl >> /dev/null

/opt/otrs/var/cron/generic_agent-database

                */10 * * * *    $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null

 

Any help would be much appreciated!

 

Nick


---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs