POP3 Schedule

Moderator: crythias

Locked
zimmerf
Znuny newbie
Posts: 2
Joined: 12 Mar 2013, 09:06
Znuny Version: 3.2.1
Real Name: Franz Zimmer
Company: Global Sense

POP3 Schedule

Post by zimmerf »

Hey Guys,

I have a simple question, but for the life of me can not find a solution.

How can i collect the pop3 mail on a schedule of 5 min, I am running a windows environment, but i can't seem to find the settings to change these requirements.

Please help!
zimmerf
Znuny newbie
Posts: 2
Joined: 12 Mar 2013, 09:06
Znuny Version: 3.2.1
Real Name: Franz Zimmer
Company: Global Sense

Re: POP3 Schedule

Post by zimmerf »

Hi Guys,

i found a solution, one can run this in the crontab or as a scheduled bat file with task manager.

Crontab

# fetch emails every 5 minutes
*/5 * * * * "C:\Program Files (x86)\OTRS\StrawberryPerl\perl\bin\perl.exe" "C:\Program Files (x86)\OTRS\OTRS\bin\otrs.PostMasterMailbox.pl" >> /dev/null

Batch File

@ECHO OFF
CLS
ECHO.
ECHO Collecting Mail...
ECHO.
"C:\Program Files (x86)\OTRS\StrawberryPerl\perl\bin\perl.exe" "C:\Program Files (x86)\OTRS\OTRS\bin\otrs.PostMasterMailbox.pl
ECHO.
EXIT
Locked