I am trying to setup email reminders in our ticketing system and have a cron job that uses the RT-crontool to search for reminders that are overdue and send an email using a simple template.
Here is the cronjob:
`*/1 * * * * /usr/local/rt/bin/rt-crontool --search RT::Search::FromSQL --search-arg ‘Type = “reminder” AND Queue = “NOC” AND (Status = “open” OR Status = “new”)’ --condition RT::Condition::Overdue --action RT::Action::NotifyActor --action-arg Owner,AlwaysNotifyActor --transaction first --template ‘NOC Reminders’
I have it going every minute because I am testing at the moment.
I get this error in root’s mail box.
[3639] [Thu Jun 18 19:27:02 2020] [critical]: Failed to load module RT::Action::NotifyActor. () at /usr/local/rt/bin/rt-crontool line 291. (/usr/local/rt/bin/…/lib/RT.pm:394)
Failed to load module RT::Action::NotifyActor. () at /usr/local/rt/bin/rt-crontool line 291.
I’m using RT 4.2.6