/opt/otrs/var/cron/pending_jobs file
Code: Select all
# check every 120 min the pending jobs
45 */2 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
Moderator: crythias
Code: Select all
# check every 120 min the pending jobs
45 */2 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
Code: Select all
No pending auto StateIDs found - skipping script!
Code: Select all
ERROR: No Ticket::StateAfterPending found for 'on the back burner' in Kernel/Config.pm!
Send reminder notification (TicketID=74)
Code: Select all
No pending auto StateIDs found - skipping script!
Well when I said we don't have any 'pending auto' states, I meant none that are 'active'. The states 'pending auto close+' and 'pending auto close-' are in the system and set to 'invalid' in the admin area and thus not visible to users.EXG133 wrote:Pff I must have been sleeping.
"No pending auto StateIDs found - skipping script!" is from this part:
if ( !@PendingAutoStateIDs ) {
print STDOUT " No pending auto StateIDs found - skipping script!\n";
exit 0;
}
So I think it's indeed closing the script. Can you try adding a state with type 'pending auto' (as invalid so it doesn't show for users) ?
On your test system 'on backburner' is a pending auto state but the sysconfig doesn't have the value to which it should be changed so it's a different error.
Code: Select all
Send reminder notification (TicketID=741)
Code: Select all
No pending auto StateIDs found - skipping script!
Code: Select all
No pending auto StateIDs found - skipping script!
Code: Select all
Message: The given param 'StateIDs' is invalid or an empty array reference!
Traceback (25094):
Module: Kernel::System::Ticket::TicketSearch::TicketSearch Line: 355
Module: /opt/otrs/bin/otrs.PendingJobs.pl Line: 69
EXG133 wrote:I think this might work:
1) enable a 'pending auto' state eg 'pending autoclose+'
2) use ACL to hide this from the dropdowns like this:
Match Settings:
Properties
Frontend
Action:
AgentTicketZoom,AgentTicketPhone,AgentTicketEmail,AgentTicketPriority (+ofcourse anywhere else where you use State)
Change settings:
PossibleNot
Ticket
State:'pending autoclose+'