Pending states notifications

Moderator: crythias

Locked
SantaPe
Znuny newbie
Posts: 53
Joined: 13 Mar 2013, 18:02
Znuny Version: 3.2.2

Pending states notifications

Post by SantaPe »

When I put a ticket on 'pending reminder' I do not get an email notification when it has reached the reminder time. I do get to see the icon on the top left and it appears in my pending queue. It normally should send me a notification if the ticket is locked on my name and it should send a notification to everybody in the queue if the ticket is unlocked. It does neither.

I didn't upgrade, I just did a clean windows install of OTRS3.2.

Can some help me out?
OTRS 3.2 - Windows Server 2008R2 - mysql
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Pending states notifications

Post by crythias »

The default cron job that handles this is var/cron/pending_jobs[.dist]

It checks and sends by default every 2 hours at 45 minutes after the hour.
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
SantaPe
Znuny newbie
Posts: 53
Joined: 13 Mar 2013, 18:02
Znuny Version: 3.2.2

Re: Pending states notifications

Post by SantaPe »

Hi,

Thanks for the answer but I'm not sure what you mean.

Do I need to edit that file to get email notifications?
OTRS 3.2 - Windows Server 2008R2 - mysql
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Pending states notifications

Post by crythias »

in theory, you shouldn't need to edit that file unless you want the notifications more frequently than every 2 hours at 45 minutes after the hour.
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
SantaPe
Znuny newbie
Posts: 53
Joined: 13 Mar 2013, 18:02
Znuny Version: 3.2.2

Re: Pending states notifications

Post by SantaPe »

Do I understand correctly:

If I put a ticket in "pending reminder" with the current time + 5 minutes and I wait for 2 hours and 50 minutes I will get an email notification?
OTRS 3.2 - Windows Server 2008R2 - mysql
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Pending states notifications

Post by crythias »

you will get notifications at 12:45a, 2:45a, 4:45a, etc...
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
SantaPe
Znuny newbie
Posts: 53
Joined: 13 Mar 2013, 18:02
Znuny Version: 3.2.2

Re: Pending states notifications

Post by SantaPe »

I'm not getting any notifications, that's the problem. Thanks for the reply.
OTRS 3.2 - Windows Server 2008R2 - mysql
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Pending states notifications

Post by crythias »

SantaPe wrote:I'm not getting any notifications, that's the problem.
If the cron job runs, it should note that. Can you see if the job runs at those times?
If so, then it will also have additional information about what it did at that time.
If the job doesn't run, it's not in cron.
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
SantaPe
Znuny newbie
Posts: 53
Joined: 13 Mar 2013, 18:02
Znuny Version: 3.2.2

Re: Pending states notifications

Post by SantaPe »

This is what is in my pending_jobs.dist file:

Code: Select all

# --
# 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.
# --

# check every 120 min the pending jobs
45 */2 * * *    $HOME/bin/otrs.PendingJobs.pl >> /dev/null
OTRS 3.2 - Windows Server 2008R2 - mysql
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Pending states notifications

Post by crythias »

I'm sure that's the same as everyone else's. How did that answer my question?
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
SantaPe
Znuny newbie
Posts: 53
Joined: 13 Mar 2013, 18:02
Znuny Version: 3.2.2

Re: Pending states notifications

Post by SantaPe »

ok, I don't know how to check if the cron job runs.
OTRS 3.2 - Windows Server 2008R2 - mysql
SantaPe
Znuny newbie
Posts: 53
Joined: 13 Mar 2013, 18:02
Znuny Version: 3.2.2

Re: Pending states notifications

Post by SantaPe »

Still haven't found how to solve this... :(
OTRS 3.2 - Windows Server 2008R2 - mysql
SantaPe
Znuny newbie
Posts: 53
Joined: 13 Mar 2013, 18:02
Znuny Version: 3.2.2

Re: Pending states notifications

Post by SantaPe »

crythias wrote:
SantaPe wrote:I'm not getting any notifications, that's the problem.
If the cron job runs, it should note that. Can you see if the job runs at those times?
If so, then it will also have additional information about what it did at that time.
If the job doesn't run, it's not in cron.
I can't find anything on this.. Where do I see if a Cron job runs?
OTRS 3.2 - Windows Server 2008R2 - mysql
otrswin
Znuny newbie
Posts: 19
Joined: 04 Dec 2013, 15:11
Znuny Version: 4.0.6.D150219.196
Real Name: Vivian
Company: WDMM

Re: Pending states notifications

Post by otrswin »

It may be too late....none the less

Logfile for Cron Service
otrs/cronw/log

Cronjob file
otrs/cronw/crontab.txt


This means if you have a windows standard installation.

The log for OTRS C:\OTRS\OTRS\var\log otrs.log(.xxx)
Here you can see any occuring error.

Hope it helps anyways.

Greets, Vivian
hongphuc
Znuny newbie
Posts: 56
Joined: 07 Jan 2014, 10:55
Znuny Version: 3.3.3

Re: Pending states notifications

Post by hongphuc »

I met the same issue, I already checking the log file also, the cronw running without issue but I still not receive email notification from Pending Reminder state?

Could someone give me advice for this case?

Thanks a lot!
otrswin
Znuny newbie
Posts: 19
Joined: 04 Dec 2013, 15:11
Znuny Version: 4.0.6.D150219.196
Real Name: Vivian
Company: WDMM

Re: Pending states notifications

Post by otrswin »

Check (Kernel...) GenericAgent.pm there is a part to be freed from comments.
Locked