I must have messed something up when I setup the Cron jobs though because they all seem to be running three times.
I went to change my fetch mail time from 10 minutes to 3 minutes. To do this I changed: /var/data/otrs/var/cron/postmaster_mailbox
Then I logged in as the otrs user and ran "Cron.sh stop". I verified that there was no crontab for the otrs user then reconfigured the cron jobs by running "Cron.sh start"
Then when I ran "crontab -l -u otrs" I see all the jobs listed three times. If I run "crontab -l | grep PostMaster" I get this:
Code: Select all
$ crontab -l | grep PostMaster
*/10 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
*/10 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
*/3 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
Code: Select all
administrator@webserver:/opt/otrs/var/cron$ ls -la
total 108
drwxrwxr-x 2 otrs www-data 4096 May 17 14:40 .
drwxrwxr-x 13 otrs www-data 4096 May 17 15:17 ..
-rw-r--r-- 1 root root 365 May 17 14:33 aaa_base
-rw-rw-r-- 1 otrs www-data 365 Apr 18 07:08 aaa_base.dist
-rw-r--r-- 1 root root 488 May 17 14:35 cache
-rw-rw-r-- 1 otrs www-data 488 Apr 18 07:08 cache.dist
-rw-r--r-- 1 root root 499 May 17 14:35 fetchmail
-rw-rw-r-- 1 otrs www-data 499 Apr 18 07:08 fetchmail.dist
-rw-r--r-- 1 root root 629 May 17 14:36 generic_agent
-rw-r--r-- 1 root root 440 May 17 14:36 generic_agent-database
-rw-rw-r-- 1 otrs www-data 440 Apr 18 07:08 generic_agent-database.dist
-rw-rw-r-- 1 otrs www-data 629 Apr 18 07:08 generic_agent.dist
-rw-r--r-- 1 root root 10282 May 17 14:30 mycrontab
-rw-r--r-- 1 root root 424 May 17 14:36 pending_jobs
-rw-rw-r-- 1 otrs www-data 424 Apr 18 07:08 pending_jobs.dist
-rw-r--r-- 1 root root 567 May 17 14:36 postmaster
-rw-rw-r-- 1 otrs www-data 567 Apr 18 07:08 postmaster.dist
-rw-r--r-- 1 root root 434 Jun 6 15:40 postmaster_mailbox
-rw-rw-r-- 1 otrs www-data 435 Apr 18 07:08 postmaster_mailbox.dist
-rw-r--r-- 1 root root 413 May 17 14:39 rebuild_ticket_index
-rw-rw-r-- 1 otrs www-data 413 Apr 18 07:08 rebuild_ticket_index.dist
-rw-r--r-- 1 root root 448 May 17 14:39 session
-rw-rw-r-- 1 otrs www-data 448 Apr 18 07:08 session.dist
-rw-r--r-- 1 root root 433 May 17 14:40 unlock
-rw-rw-r-- 1 otrs www-data 433 Apr 18 07:08 unlock.dist