Hello
I got question how to edit cron jobs, because on default cron jobs fetch every emails after 10 minutes. What and where i should edit this to change this time
for 1 minute.
thank's for help.
Regards.
otrs 3.3.3 on ubuntu 12.04 lts
OTRS Cron jobs
Moderator: crythias
-
- Znuny newbie
- Posts: 63
- Joined: 30 Dec 2013, 14:27
- Znuny Version: 3.3.3
- Real Name: Lukasz Sobiepan
- Company: Novum
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: OTRS Cron jobs
1 minute might be to short. If you want the mail to appear as tickets immediately, you should think about piping the mails to OTRS via fetchmail.
To edit the cronjobs, you can either
1) edit the files at <OTRS_HOME>/var/cron/ and use otrs.CronSetup.sh
2) use the command "crontab -e -u otrs"
To edit the cronjobs, you can either
1) edit the files at <OTRS_HOME>/var/cron/ and use otrs.CronSetup.sh
2) use the command "crontab -e -u otrs"
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: OTRS Cron jobs
or otrs/bin/Cron.sh restart
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: 63
- Joined: 30 Dec 2013, 14:27
- Znuny Version: 3.3.3
- Real Name: Lukasz Sobiepan
- Company: Novum
Re: OTRS Cron jobs
Ok thank's but I need more specyfic info, what script and where I change to fetch email time. I thought that's script postmaster_mailbox, or postmaster fo change that's but in script postmaster_mailbox I have comment
# fetch emails every 10 minutes
and line
*/10 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
thank"s for help.
Regards.
# fetch emails every 10 minutes
and line
*/10 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
thank"s for help.
Regards.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: OTRS Cron jobs
to run it every minute, just remove the "/10", so:
http://www.adminschoice.com/crontab-quick-reference/
Code: Select all
* * * * * $HOME/....
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 63
- Joined: 30 Dec 2013, 14:27
- Znuny Version: 3.3.3
- Real Name: Lukasz Sobiepan
- Company: Novum
Re: OTRS Cron jobs
OK i got it, very very thank you for your help. Problem Solved