Difference between revisions of "Talk:OTRS"

From SME Server
Jump to navigationJump to search
m (http://wiki.contribs.org/Generic_WebApp_rpm)
 
Line 4: Line 4:
  
 
[[User:Snoble|Snoble]] 19:27, 15 September 2007 (MDT)
 
[[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
 +
 +
 +
*/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.

Revision as of 22:48, 2 April 2009

Check the new howto for web applications, this can simplify install by automating some steps. http://wiki.contribs.org/Generic_WebApp_rpm

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


  • /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.