Difference between revisions of "Talk:OTRS"

From SME Server
Jump to navigationJump to search
m (http://wiki.contribs.org/Generic_WebApp_rpm)
 
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Check the new howto for web applications,
 
this can simplify install by automating some steps.
 
http://wiki.contribs.org/Generic_WebApp_rpm
 
  
[[User:Snoble|Snoble]] 19:27, 15 September 2007 (MDT)
+
ABOUT CRONTAB
 +
I don't really thing everything needs to be run as the otrs user.  I had luck today by using
 +
 
 +
crontab -e
 +
 
 +
and adding in the various cron lines.  'i' to insert and paste in your work.  Mine looked like this
 +
 
 +
 
 +
<code>*/20 * * * *    /opt/otrs/bin/GenericAgent.pl >> /dev/null
 +
*/10 * * * *    /opt/otrs/bin/GenericAgent.pl -c db >> /dev/null
 +
45 */2 * * *    /opt/otrs/bin/PendingJobs.pl >> /dev/null
 +
10 0 * * *  /opt/otrs/bin/otrs.cleanup >> /dev/null
 +
*/10 * * * *    /opt/otrs/bin/PostMasterMailbox.pl >> /dev/null
 +
01 01 * * * /opt/otrs/bin/RebuildTicketIndex.pl >> /dev/null
 +
55 */2 * * *    /opt/otrs/bin/DeleteSessionIDs.pl --expired >> /dev/null
 +
35 * * * *  /opt/otrs/bin/UnlockTickets.pl --timeout >> /dev/null
 +
 
 +
:wq 
 +
</code>
 +
 
 +
to save it.  This worked for me so far, but I've only seen thngs run for a couple of hours and I'm not sure I have all the functionality up and running.

Latest revision as of 13:51, 3 April 2009

ABOUT CRONTAB I don't really thing everything needs to be run as the otrs user. I had luck today by using

crontab -e

and adding in the various cron lines. 'i' to insert and paste in your work. Mine looked like this


*/20 * * * * /opt/otrs/bin/GenericAgent.pl >> /dev/null

  • /10 * * * * /opt/otrs/bin/GenericAgent.pl -c db >> /dev/null

45 */2 * * * /opt/otrs/bin/PendingJobs.pl >> /dev/null 10 0 * * * /opt/otrs/bin/otrs.cleanup >> /dev/null

  • /10 * * * * /opt/otrs/bin/PostMasterMailbox.pl >> /dev/null

01 01 * * * /opt/otrs/bin/RebuildTicketIndex.pl >> /dev/null 55 */2 * * * /opt/otrs/bin/DeleteSessionIDs.pl --expired >> /dev/null 35 * * * * /opt/otrs/bin/UnlockTickets.pl --timeout >> /dev/null

wq

to save it. This worked for me so far, but I've only seen thngs run for a couple of hours and I'm not sure I have all the functionality up and running.