Pending Auto Closed +/- not closing ticket
Moderator: crythias
-
- Znuny newbie
- Posts: 7
- Joined: 03 Apr 2014, 09:36
- Znuny Version: 3.3.3
- Real Name: Yannick
- Company: DDM Consulting
Pending Auto Closed +/- not closing ticket
Hello,
The system we have has 2 custom pending auto states.
pending auto closed+ and pending auto closed- (instead of pending auto close+ and -) the reason for this , i was told, was for something with dynamic fields.
nevertheless what the reason was, when a ticket with this state has reached the reminder time, it's not automatically set to closed successful or closed unsuccessful .
where and how do i fix this?
Kind Regards,
Yannick
The system we have has 2 custom pending auto states.
pending auto closed+ and pending auto closed- (instead of pending auto close+ and -) the reason for this , i was told, was for something with dynamic fields.
nevertheless what the reason was, when a ticket with this state has reached the reminder time, it's not automatically set to closed successful or closed unsuccessful .
where and how do i fix this?
Kind Regards,
Yannick
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Pending Auto Closed +/- not closing ticket
Is the "pending_jobs" cronjob active?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 7
- Joined: 03 Apr 2014, 09:36
- Znuny Version: 3.3.3
- Real Name: Yannick
- Company: DDM Consulting
Re: Pending Auto Closed +/- not closing ticket
this is in the crontab
# --
# cron/pending_jobs - pending_jobs cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# 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.
# --
# check every 120 min the pending jobs
45 */2 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
# --
# cron/pending_jobs - pending_jobs cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# 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.
# --
# check every 120 min the pending jobs
45 */2 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Pending Auto Closed +/- not closing ticket
it checks every 2 hours at 45 minutes after the hour. Are you expecting closure more rapidly than that?
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 newbie
- Posts: 7
- Joined: 03 Apr 2014, 09:36
- Znuny Version: 3.3.3
- Real Name: Yannick
- Company: DDM Consulting
Re: Pending Auto Closed +/- not closing ticket
well it doesn't close them at all 

-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Pending Auto Closed +/- not closing ticket
Anything in the logs?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 7
- Joined: 03 Apr 2014, 09:36
- Znuny Version: 3.3.3
- Real Name: Yannick
- Company: DDM Consulting
Re: Pending Auto Closed +/- not closing ticket
which logs?
syslog... no not really something i can make up for this cronjob
syslog... no not really something i can make up for this cronjob
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Pending Auto Closed +/- not closing ticket
When your OTRS logs into Syslog, then yes Syslog... Did you rename the ticket states? Can you run $OTRS_HOME/bin/otrs.PendingJobs.pl manually?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 7
- Joined: 03 Apr 2014, 09:36
- Znuny Version: 3.3.3
- Real Name: Yannick
- Company: DDM Consulting
Re: Pending Auto Closed +/- not closing ticket
yes the ticket states are called "pending auto closed+" and "pending auto closed-" instead of the default "pending auto close+" and "pending auto close-".
does this pose a problem? The system was delivered to us like this by OTRS themselves.
I was told from my coworkers that this was done for something that has to do with Dynamic fields. although i don't really know or see the reason to.
Thanks for helping already
does this pose a problem? The system was delivered to us like this by OTRS themselves.
I was told from my coworkers that this was done for something that has to do with Dynamic fields. although i don't really know or see the reason to.
Thanks for helping already

-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Pending Auto Closed +/- not closing ticket
Then check if the SysConfig option Ticket::StateAfterPending is updated accordingly...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Pending Auto Closed +/- not closing ticket
reneeb's correct.
ERROR: No Ticket::StateAfterPending found for 'pending auto closed+' in Kernel/Config.pm!
And it'd show up in your /var/log/messages or /var/log/syslog or your cronjob's MAILTO= (from /var/cron/aaa_base, default: root@localhost).
reneeb wrote:SysConfig option Ticket::StateAfterPending is updated accordingly...
I'm reasonably certain you'd see...reneeb wrote:Can you run $OTRS_HOME/bin/otrs.PendingJobs.pl manually?
ERROR: No Ticket::StateAfterPending found for 'pending auto closed+' in Kernel/Config.pm!
And it'd show up in your /var/log/messages or /var/log/syslog or your cronjob's MAILTO= (from /var/cron/aaa_base, default: root@localhost).
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
Re: Pending Auto Closed +/- not closing ticket
Yannik, as you are a support customer you should ask Support Team to get fast and reliable help
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com