hi again,
i wanted to set the cron job for postmaster and pending jobs for 10 mins each. i am working on ubuntu 10/otrs 3.04 and mysql. i gave the command crontab -e -u otrs and then edited the file to set the timings accordingly and then started cron.sh. however, i don't see the postmaster entry here. can you help to understand how and where to set the timings for postmaster, generic agent and pending jobs in otrs in ubuntu? i hope i am using correct command.
Changing cron job
Moderator: crythias
-
- Znuny newbie
- Posts: 42
- Joined: 13 Jan 2011, 09:40
- Znuny Version: 3.04
-
- Znuny newbie
- Posts: 42
- Joined: 13 Jan 2011, 09:40
- Znuny Version: 3.04
Re: Changing cron job
hi there,
continued from the previous post- i wanted to know if using crontab -e -u otrs is a right way of modifying the entries to change cron job timings or we should modify the cron jobs in var/cron folder, restart cron services and then run crontab -l -u otrs to ensure that entries are reflected correctly.
continued from the previous post- i wanted to know if using crontab -e -u otrs is a right way of modifying the entries to change cron job timings or we should modify the cron jobs in var/cron folder, restart cron services and then run crontab -l -u otrs to ensure that entries are reflected correctly.
-
- Znuny newbie
- Posts: 42
- Joined: 13 Jan 2011, 09:40
- Znuny Version: 3.04
Re: Changing cron job
since i am also playing around to see what works correctly, i noticed that when i changed the timings in cron job by using crontab -e -u otrs, and restart cron services, the changes are reflected only for few mins. they are reverted back to original settings of 5 */2 for pending jobs, * /*10 for generic agent etc. how can i set the timings such that they remain there intact and pending jobs can be checked every 10 mins rather than 120 mins?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Changing cron job
you should edit the otrs/var/cron/* files
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 42
- Joined: 13 Jan 2011, 09:40
- Znuny Version: 3.04
[Solved]Re: Changing cron job
thanks crythias.