I use OTRS 2.4.7 for Win. It works fine, except fetches mail automatically.
When i use "Run Now!" command via "PostMaster Mail Account", OTRS fetches all new mail from my POP3 account.
When in cmd I type command
C:\Program Files\OTRS\StrawberryPerl\perl\bin\perl.exe "C:\Program Files\OTRS\OTRS\bin\PostMasterMailbox.pl"
it receive email.
But cron job postmaster_mailbox doesn't fetches the mail although it execute every 2 minutes.
postmaster_mailbox.dist:
*/2 * * * * $HOME/bin/PostMasterMailbox.pl >> /dev/null
my cronw.log:
[2010/03/11 12:38:00] state: SERVICE_RUNNING
[2010/03/11 12:38:00] checking for jobs to run
[2010/03/11 12:38:00] skip reading crontab - file unchanged
[2010/03/11 12:38:00] checking jobs at min: 38, hour: 12, day: 11, month: 2, wday: 4
[2010/03/11 12:38:00] found job to execute: 'C:/PROGRA~1/OTRS/StrawberryPerl/perl/bin/perl.exe' with C:/PROGRA~1/OTRS/OTRS/bin/PostMasterMailbox.pl
[2010/03/11 12:38:00] executing job C:/PROGRA~1/OTRS/StrawberryPerl/perl/bin/perl.exe - C:/PROGRA~1/OTRS/OTRS/bin/PostMasterMailbox.pl
[2010/03/11 12:38:00] Win32::Process::Create('C:\Program Files\OTRS\StrawberryPerl\perl\bin\perl.exe', 'perl "C:\Program Files\OTRS\CRONw\cronService.pl" --exec=433a2f50524f4752417e312f4f5452532f537472617762657272795065726c2f7065726c2f62696e2f7065726c2e657865 --args=433a2f50524f4752417e312f4f5452532f4f5452532f62696e2f506f73744d61737465724d61696c626f782e706c20', '.')
[2010/03/11 12:38:00] will sleep 20 seconds
[2010/03/11 12:38:00] going to start C:/PROGRA~1/OTRS/StrawberryPerl/perl/bin/perl.exe with arguments 'C:/PROGRA~1/OTRS/OTRS/bin/PostMasterMailbox.pl '
[2010/03/11 12:38:00] Win32::Process::Create('c:\system\4nt\4nt.exe', '"4nt.exe" /C "C:/PROGRA~1/OTRS/StrawberryPerl/perl/bin/perl.exe C:/PROGRA~1/OTRS/OTRS/bin/PostMasterMailbox.pl "', 'C:/PROGRA~1/OTRS/StrawberryPerl/perl/bin')
[2010/03/11 12:38:00] Process 2248 started
[2010/03/11 12:38:00] Process 2248 finished. Exit code: 2
so it doesn't work -- and i don't know why.