Can't locate Overvdue.pm module

Hi,

I’m trying the run the following : /opt/rt4/bin/rt-crontool --search RT::Search::FromSQL --search-arg ‘Type = “reminder” and Status = “new”’ --condition RT::Condition::OverDue --condition-arg 2d --action RT::Action::SendEmail --action-arg Owner --transaction first --template ‘Reminder due soon’

but I get this error:
Failed to load module RT::Condition::OverDue. (Can’t locate RT/Condition/OverDue.pm

However, Overdue.pm is in this directory:
root@ip-172-31-28-7:/opt/rt4/lib/RT/Condition# ls -ltr
total 64
-rw-r–r-- 1 root bin 2506 Jul 13 2016 Overdue.pm
-rw-r–r-- 1 root bin 2472 Jul 13 2016 UserDefined.pm
-rw-r–r-- 1 root bin 2325 Jul 13 2016 QueueChange.pm
-rw-r–r-- 1 root bin 2677 Jul 13 2016 CloseTicket.pm
-rw-r–r-- 1 root bin 2261 Jul 13 2016 AnyTransaction.pm
-rw-r–r-- 1 root bin 2472 Jul 13 2016 SLA_RequireStartsSet.pm
-rw-r–r-- 1 root bin 2141 Jul 13 2016 SLA.pm
-rw-r–r-- 1 root bin 2829 Jul 13 2016 ReopenTicket.pm
-rw-r–r-- 1 root bin 4614 Jul 13 2016 StatusChange.pm
-rw-r–r-- 1 root bin 2352 Jul 13 2016 PriorityExceeds.pm
-rw-r–r-- 1 root bin 2383 Jul 13 2016 PriorityChange.pm
-rw-r–r-- 1 root bin 2726 Jul 13 2016 OwnerChange.pm
-rw-r–r-- 1 root bin 2708 Jul 13 2016 TimeWorkedChange.pm
-rw-r–r-- 1 root bin 2949 Jul 13 2016 SLA_RequireDueSet.pm
-rw-r–r-- 1 root bin 3117 Jul 13 2016 BeforeDue.pm

Any idea?

Best Regards,

OverDue -> Overdue the ‘d’ is not cap’d in due.

1 Like

Excellent! Thanks. Fixed