Hi everyone, trying to get cron working (as root at the moment) - interestingly if i reboot the server i get it to work once..
Not really sure how to troubleshoot this one as rt-email-dashboards --dryrun --all works fine as does email for RT normally... Now I have a couple of other issue which could be unrelated (1) admins get copies of their own admincc messages (2) [email protected] is ignored and email comments are taken as correspondance [Mon May 13 13:00:08 2013] [error]: Can't locate object method "err_headers_out" via package "RT::Dashboard::FakeRequest" at /usr/share/request-tracker4/lib/RT/Interface/Web.pm line 891, <DATA> line 1000. (/usr/share/request-tracker4/lib/RT/Interface/Web/Handler.pm:209) [Mon May 13 13:00:08 2013] [error]: Caught exception: An internal RT error has occurred. Your administrator can find more details in RT's log files. (/usr/share/request-tracker4/lib/RT/Dashboard/Mailer.pm:117) the problem seems to be above this as command line produces same results but... crontab 0 0 * * * /usr/sbin/rt-email-digest -m daily 0 0 * * 0 /usr/sbin/rt-email-digest -m weekly 0 * * * * /usr/sbin/rt-email-dashboards 0 3 * * * /usr/bin/rt-crontool --search RT::Search::FromSQL \ --search-arg Created < '2 days ago' AND Created > '3 days ago'" \ --action RT::Action::RecordComment --template 'Unowned tickets' 0 * * * * /usr/bin/rt-crontool \ --search RT::Search::ActiveTicketsInQueue --search-arg general \ --action RT::Action::EscalatePriority -- David Lane Director GoodChoice.IT Ltd We reward successful referrals W: www.goodchoice.it E: [email protected] T: 020 8099 5540 -- David Lane Director GoodChoice.IT Ltd We reward successful referrals W: www.goodchoice.it E: [email protected] T: 020 8099 5540
-- RT Training in Seattle, June 19-20: http://bestpractical.com/training
