Hi,
I've configured my OTRS user's crontab to disable the postmaster, generic agent and pending tasks jobs 2300 and 0300 while the backup runs. I've done this to try and trouble shoot some problems I'm having where multiple PostMaster tasks queue up overnight.
I've found that despite the cron tasks being disabled, the Postmaster tasks still try and run during the backup. My question is, what is causing these postmaster tasks to run? Is there some configuration in the database that ignores the cron?
Thanks
Jon
postmaster cron job
Moderator: crythias
postmaster cron job
Test : OTRS 3.1.12 with ITSM 3.1.7
Prod : OTRS 3.1.12 with ITSM 3.1.7
Both running on Centos 5.7 with Mysql Database
Prod : OTRS 3.1.12 with ITSM 3.1.7
Both running on Centos 5.7 with Mysql Database
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: postmaster cron job
try running an see if your generic agent is changing the crontab accordingly to your whishes
Code: Select all
crontab -l -u otrs
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Re: postmaster cron job
This is the otrs crontab:
I don't understand why postmaster still tries to run between 2300 and 0300.
I don't understand why postmaster still tries to run between 2300 and 0300.
Code: Select all
# Run the Backup Routine at 23:00 every night
20 23 * * * /$HOME/scripts/backup.pl -d /var/otrs_backups/ -r 30 -t fullbackup
# delete expired cache weekly (Sunday mornings)
30 3 * * 0 $HOME/bin/otrs.CacheDelete.pl --expired >> /dev/null
40 3 * * 0 $HOME/bin/otrs.LoaderCache.pl -o delete >> /dev/null
# start generic agent every 15 minutes between 03:00 and 23:00
*/15 3-23 * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
# start generic agent every 23 minutes between 03:00 and 23:00
*/23 3-23 * * * $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
# check hourly at 13 minutes the pending jobs between 03:00 and 23:00
13 3-23 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
# check daily the spool directory of OTRS at 22:10
10 22 * * * $HOME/bin/otrs.cleanup >> /dev/null
# fetch emails every 1 minutes between 03:00 and 23:00
*/1 3-23 * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
# just every day
01 05 * * * $HOME/bin/otrs.RebuildTicketIndex.pl >> /dev/null
Test : OTRS 3.1.12 with ITSM 3.1.7
Prod : OTRS 3.1.12 with ITSM 3.1.7
Both running on Centos 5.7 with Mysql Database
Prod : OTRS 3.1.12 with ITSM 3.1.7
Both running on Centos 5.7 with Mysql Database