<br><div class="gmail_quote"><font face="trebuchet ms,sans-serif">Hi everyone, <br><br>trying to get cron working (as root at the moment) - interestingly if i reboot the server i get it to work once..<br><br>Not really sure how to troubleshoot this one  as<br>


<br>rt-email-dashboards --dryrun --all<br><br>works fine<br><br>as does email for RT normally...<br><br>Now I have a couple of other issue which could be unrelated (1) admins get copies of their own admincc messages (2) <a href="mailto:help-comment@domain.com" target="_blank">help-comment@domain.com</a> is ignored and email comments are taken as correspondance<br>


<br>[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)<br>


[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)<br><br>


the problem seems to be above this as command line produces same results but...<br><br>crontab <br><br>0 0 * * * /usr/sbin/rt-email-digest -m daily<br>0 0 * * 0 /usr/sbin/rt-email-digest -m weekly<br>0 * * * * /usr/sbin/rt-email-dashboards<br>


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'<br>


0 * * * * /usr/bin/rt-crontool \ --search RT::Search::ActiveTicketsInQueue  --search-arg general \ --action RT::Action::EscalatePriority<span class="HOEnZb"><font color="#888888"><br><br clear="all"></font></span></font><span class="HOEnZb"><font color="#888888"><br>

-- <br>David Lane<br>Director<br>GoodChoice.IT Ltd<br>
<br>We reward successful referrals<br><br>W: <a href="http://www.goodchoice.it" target="_blank">www.goodchoice.it</a> E: <a href="mailto:dave@goodchoice.it" target="_blank">dave@goodchoice.it</a>  T: <a href="tel:020%208099%205540" value="+442080995540" target="_blank">020 8099 5540</a> 
</font></span></div><br><br clear="all"><br>-- <br>David Lane<br>Director<br>GoodChoice.IT Ltd<br><br>We reward successful referrals<br><br>W: <a href="http://www.goodchoice.it" target="_blank">www.goodchoice.it</a> E: <a href="mailto:dave@goodchoice.it" target="_blank">dave@goodchoice.it</a>  T: 020 8099 5540