Hello,
I'm testing state "pending auto close" (+ or - doesn't matter) today.
At a moment it worked, and I can see the following in ticket history:
StateUpdate Old: "new" New: "pending auto close-" - root (Admin OTRS) 01/25/2011 14:00:09
SetPendingTime Updated: 2011-01-25 14:02 - root (Admin OTRS) 01/25/2011 14:00:09
StateUpdate Old: "pending auto close-" New: "closed unsuccessful" - root (Admin OTRS) 01/25/2011 14:45:02
Question: Why is the state updated to closed written at 14:45, whereas it was supposed to be closed at 14:02?
Now it doesn't work anymore, and I can see the following in ticket history:
StateUpdate Old: "new" New: "pending auto close+" - root (Admin OTRS) 01/25/2011 15:24:47
SetPendingTime Updated: 2011-01-25 15:25 - root (Admin OTRS) 01/25/2011 15:24:47
...but nothing more.
Question: Why does the ticket stay pending, although scheduled time has passed?
Regards,
HervE
[SOLVED] Questions about pending auto close
Moderator: crythias
[SOLVED] Questions about pending auto close
Last edited by HervE on 22 Mar 2011, 19:14, edited 3 times in total.
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Re: Questions about pending auto close
Actually it now shows:HervE wrote:I can see the following in ticket history:
StateUpdate Old: "new" New: "pending auto close+" - root (Admin OTRS) 01/25/2011 15:24:47
SetPendingTime Updated: 2011-01-25 15:25 - root (Admin OTRS) 01/25/2011 15:24:47
...but nothing more.
Question: Why does the ticket stay pending, although scheduled time has passed?
StateUpdate Old: "new" New: "pending auto close+" - root (Admin OTRS) 01/25/2011 15:24:47
SetPendingTime Updated: 2011-01-25 15:25 - root (Admin OTRS) 01/25/2011 15:24:47
StateUpdate Old: "pending auto close+" New: "closed successful" - root (Admin OTRS) 01/25/2011 16:45:01
So I've got only one question, the first one:
Why is the state updated to 'closed' later than expected?
Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Re: Questions about pending auto close
the cron job for this is only running every 2 hours
"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
Re: Questions about pending auto close
OK, that explains 14:45 then 16:45. It is configured this way in var\cron\pending_jobs.dist. Thanks.
(edited) Actually, I've got a question: Is it the actual configuration in OTRS\var\cron\pending_jobs.dist, or in CRONw\crontab.txt? Because I can find it in both.
Same question goes for postmaster_mailbox.dist by the way.
HervE
(edited) Actually, I've got a question: Is it the actual configuration in OTRS\var\cron\pending_jobs.dist, or in CRONw\crontab.txt? Because I can find it in both.
Same question goes for postmaster_mailbox.dist by the way.
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Re: Questions about pending auto close
I've got my answer: CRONw\crontab.txt is re-created each time you restart cron service.HervE wrote:Is it the actual configuration in OTRS\var\cron\pending_jobs.dist, or in CRONw\crontab.txt? Because I can find it in both.
Same question goes for postmaster_mailbox.dist by the way.
So OTRS\var\cron\ is the place to do modifications.
I thank me

HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30