RT::Action::Notify & rt-crontool


#1

hello RT users,

I am having some problems with rt-crontool all of a sudden.
I have the following job in crontab:
rt-crontool --search RT::Search::FromSQL --search-arg “Status = ‘open’ AND
Owner != ‘Nobody’ AND LastUpdated < ‘7 days ago’” --action
RT::Action::Notify --action-arg Owner --template ‘AutoReminders’

And the RT::Action::Notify will not send any e-mails to the owner. the logs
shows the following: No recipients found. Not sending. The owner does have
en email address and the query is good and does return results.
I tried with RT::Action::SendEmail and the same message.
RT::Action::RecordCorresponse for example works fine.

Why is SendEmail and Notify failing? anyone with an idea? Any other reminder
tools out there?

    • Sharlon ©.

#2

Is there an issue with Notify Owner and SendEmail in rt 3.6.5 ?On Mon, May 26, 2008 at 4:16 PM, Sharlon Carty scarty@gmail.com wrote:

hello RT users,

I am having some problems with rt-crontool all of a sudden.
I have the following job in crontab:
rt-crontool --search RT::Search::FromSQL --search-arg “Status = ‘open’ AND
Owner != ‘Nobody’ AND LastUpdated < ‘7 days ago’” --action
RT::Action::Notify --action-arg Owner --template ‘AutoReminders’

And the RT::Action::Notify will not send any e-mails to the owner. the logs
shows the following: No recipients found. Not sending. The owner does have
en email address and the query is good and does return results.
I tried with RT::Action::SendEmail and the same message.
RT::Action::RecordCorresponse for example works fine.

Why is SendEmail and Notify failing? anyone with an idea? Any other
reminder tools out there?

    • Sharlon ©.
    • Sharlon ©.

#3

well i guess setting Set($NotifyActor, 0); disables the ability to notify
the owner of anything even via rt-crontool.
set it back to 1 and works fine again.

–sharlon