Hello,
I have set two state types:
pending not answer -> pending auto
pending response -> pending reminder
PendingJobs.pl is checking every 120 minutes. When the ticket has changed automaticlaly his status to pending response a ticket agent had to get a reminder. The agent didn't get any notification. What and where should I set for reminder notification to agent owner by schedular or a status changed moment?
Reminder ticket notification
Moderator: crythias
Re: Reminder ticket notification
I have got a reminder. I think that was associated with working time (Core::Time). The next question.
I have changed status again and set the new pending reminder. When I run ./otrs.PendingJobs.pl I get "Send reminder notification" but I don't get email.
I think if I get first time a reminder of a ticket I can't get more reminders of the same ticket. Can you explain?
I have changed status again and set the new pending reminder. When I run ./otrs.PendingJobs.pl I get "Send reminder notification" but I don't get email.
I think if I get first time a reminder of a ticket I can't get more reminders of the same ticket. Can you explain?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Reminder ticket notification
Pending reminder sends once per day. But cleanup (another cron that resets the sent flag) happens once per day. The default action is to not spam you constantly that you have a reminder. Also this helps prevent infinite loops.
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: Reminder ticket notification
I have changed in PendingJobs.pl to sent=0
and changed in crontab twice via day this job.
Code: Select all
my $Sent = 0;
for my $Line (@Lines) {
if (
$Line->{Name} =~ /PendingReminder/
&& $Line->{Name} =~ /\Q$Preferences{UserEmail}\E/i
&& $Line->{CreateTime} =~ /$Year-$Month-$Day/
)
{
# Original settings ---> $Sent = 1;
#My settings
$Sent = 0;
}