Change Tme for email auto fetch
Moderator: crythias
-
- Znuny newbie
- Posts: 88
- Joined: 16 May 2012, 18:50
- Znuny Version: 4.0.4
- Real Name: Justin Schlueter
- Company: Kimberly Area School District
Change Tme for email auto fetch
Is there a way to change the amount of time they systems checks email? I believe it is currently 5 minutes but was wondering if we could reduce that to 3 minutes or so? Thanks
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change Tme for email auto fetch
yes. edit the otrs/var/cron and reload bin/Cron.sh restart otrs.
But if you want even faster, consider changing to instant instead of polling.
viewtopic.php?f=53&t=16009#p91142
But if you want even faster, consider changing to instant instead of polling.
viewtopic.php?f=53&t=16009#p91142
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: 88
- Joined: 16 May 2012, 18:50
- Znuny Version: 4.0.4
- Real Name: Justin Schlueter
- Company: Kimberly Area School District
Re: Change Tme for email auto fetch
Since var/cron is a directory, I assume you mean edit the fetchmail.dist file within. I did so and changed the cron entry to 3 minutes instead of 5 and then ran 'bin/Cron.sh restart otrs'. However, now crontab for the otrs user is completely empty and mail is not being fetched at all. How can the crontab for the otrs be rebuilt?
Thanks.
Thanks.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change Tme for email auto fetch
there should not be any dist files. all .dist files should be without extension.
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: 7
- Joined: 27 Feb 2012, 23:59
- Znuny Version: 31111
Re: Change Tme for email auto fetch
Run these commands:
cd /opt/otrs/var/cron
for foo in *.dist; do cp $foo `basename $foo .dist`; done
cd /opt/otrs/bin
edit the fetchmail file to reflect the changes then run:
./Cron.sh restart otrs
You owe me lunch.
(I'm co-workers with the OP
)
cd /opt/otrs/var/cron
for foo in *.dist; do cp $foo `basename $foo .dist`; done
cd /opt/otrs/bin
edit the fetchmail file to reflect the changes then run:
./Cron.sh restart otrs
You owe me lunch.
(I'm co-workers with the OP
