Hi Karthick, The documentation you are looking at is at http://doc.otrs.org/2.4/en/html/x531.html#cronjobs There are 2 directories for you to consider;
1) /opt/otrs/var/cron 2) /opt/otrs/bin/ In directory 1 there is a list of files ending in .dist. These files contain details for scheduling different functions of the otrs system. If you have configured your e-mail through the PostMaster Mail Account menu in the otrs web interface (not throught the config files) you will be interested in the postmaster_mailbox.dist file. This file will be used to add a crontab entry for the PostMasterMailbox.pl perl script which gets your mail and puts it into your database. You need to change the filename postmaster_mailbox.dist to postmaster_mailbox This will cause the the postmaster_mailbox settings to be included in your crontab later. Open the postmaster_mailbox file for editing. Look for the line; */10 * * * * $HOME/bin/PostMasterMailbox.pl >> /dev/null This is the standard syntax for a crontab entry. Change the "10" to a "1". This will tell the system you want to execute the script mentioned every 1 minute (instead of every 10). If you want to do something different then look up how to write a crontab entry for more instructions. Save and close the file. You have now prepared what you want to be added to crontab. The next step will over write your current crontab so it would be best to list the contents (crontab -l) and back them up. Change to your otrs user if you are not already that user (usually just otrs), su - otrs Once you are the otrs user change to directory 2, /opt/otrs/bin/ Now execute the command; ./Cron.sh start This will add the details from the file in directory 1 to your crontab. Check your crontab to make sure what you want to be there is actually there (crontab -l) If your entry for the PostMasterMailbox.pl is there then your job is scheduled and will run every minute. Test it by sending a mail to the otrs account you created. I hope that works for you, Rory Support my 365 Challenge in aid of the Irish Cancer Society www.365challenge.ie 2009/9/17 Karthick B <[email protected]>: > HI Rory > > Am working in RHEL 5.3 and otrs also installed on the same machine > --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
