Hi Sebastien, When using a Windows Server you can use Windows Task Scheduler to run the same file. Cron is a linux program that you can compare to windows task scheduler. The line in your mail (*/10 * * * * $HOME/bin/PostMasterMailbox.pl >> /dev/null) is not in the postmaster.pl file. It goes in the crontab file and tells the cron program to run the $HOME/bin/PostMasterMailbox.pl file every 10 minutes (*/10 * * * *) and discard any output (>> /dev/null).
What you need to do is create a scheduled task in windows that does the same thing. You may have to tell windows task scheduler to execute the following program; perl $HOME/bin/PostMasterMailbox.pl where $HOME is the location you have installed OTRS on your windows machine. Create this task to run every 10 minutes or less if you like. Kind regards, Rory -- Support my 365 Challenge in aid of the Irish Cancer Society www.365challenge.ie 2010/1/25 Sebastien Bory <[email protected]>: > Hi Florian > > I have the same problem, > OTRS is install on a Windows Server 2003 , it use the Mail server about our > FAI (send and receive mail work fine) but I don't see in the postmaster.pl > file the line : > # fetch emails every 10 minutes > */10 * * * * $HOME/bin/PostMasterMailbox.pl >> /dev/null > > To change this parameters could you help me > > Thanks > > > Sébastien Bory > Administrateur réseaux > NCI-les centres d'affaires > Bienvenue chez vous - Just welcome ! > 59 Rue des Petits Champs 75001 Paris > Tel 33(0) 1 73 77 53 41 > Fax 33(0) 1 73 77 55 56 > Port: 33(0) 6 78 93 28 66 > Mail :[email protected] > Web: www.groupenci.com > > > Ce message et toutes les pièces jointes sont établis a l'intention exclusive > de ses destinataires et sont confidentiels. Si vous recevez ce message par > erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. > Toute utilisation de ce message non conforme à sa destination, toute > diffusion ou toute publication, totale ou partielle, est interdite, sauf > autorisation expresse. L'internet ne permettant pas d'assurer l'intégrité de > ce message, NCI décline toute responsabilité au titre de ce message, dans > l'hypothèse ou il aurait été modifié. This message and any attachments are > intended solely for the addressees and is confidential. If you receive this > message in error, please delete it and immediately notify the sender. Any use > not in accord with its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet can not > guarantee the integrity of this message. NCI shall not therefore be liable > for the message if modified. > > -----Message d'origine----- > De : [email protected] [mailto:[email protected]] De la part de > Florian Houel > Envoyé : vendredi 22 janvier 2010 10:59 > À : User questions and discussions about OTRS. > Objet : Re: [otrs] Cron jobs : what to change to make the refresh quickier? > > Hi, > I’m new on the list, we’re working on using OTRS to manage our customer’s > questions and requests. > I understand that Philippe doesn't use fetchmail as these lines are commented > out. > > According to your crontab, OTRS mails are coming from these lines : > # fetch emails every 10 minutes > */10 * * * * $HOME/bin/PostMasterMailbox.pl >> /dev/null > > So, mails are received every 10 minutes. You can change that to something > like 5 or 3 minutes. > You told about more than 15 minutes delay, part of the delay may come from > the Exchange/Outlook side. > > Hope this helps, > Florian. > > -----Message d'origine----- > De : [email protected] [mailto:[email protected]] De la part de Ralf > Hildebrandt > Envoyé : vendredi 22 janvier 2010 10:35 > À : [email protected] > Objet : Re: [otrs] Cron jobs : what to change to make the refresh quickier? > > * Martignier, Philippe <[email protected]>: >> Hi there, >> >> I want to speed up the frequence of refresh (= an email arrives in >> Outlook and then OTRS looks in the mail box if there is a mail it >> deletes that email and create a ticket inside OTRS) > > Well, don't use fetchmail, but feed OTRS directly via SMTP. > > > -- > Ralf Hildebrandt > Geschäftsbereich IT | Abteilung Netzwerk > Charité - Universitätsmedizin Berlin > Campus Benjamin Franklin > Hindenburgdamm 30 | D-12203 Berlin > Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 > [email protected] | http://www.charite.de > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! > http://www.otrs.com/en/support/enterprise-subscription/ > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! > http://www.otrs.com/en/support/enterprise-subscription/ > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! > http://www.otrs.com/en/support/enterprise-subscription/ --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
