Re: [otrs] cron jobs syntax
Solaris is the example I've run into. It is the same for AIX and HP-UX. To be portable there's really only the The Open Group's minimum specification for what a crontab looks like that counts. It's the only cross platform standard that I know about that they all comply with. http://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html (admittedly it is pretty simple) Btw: This is the ONLY problem I've come across when installing OTRS on Solaris and it is of course easy to work around, so I do not think it is big thing if you correct this or not. A part from the cron script problem installing OTRS on Solaris was a breeze.(this was Solaris 11) You can always do something like this in the beginning of the bash script: OS=$(uname) case $OS in SunOS) echo Solaris detected. This script only works with Vixie cron or derivatives. echo Install OTRS cron jobs manually. exit 1 ;; AIX) echo AIX detected. This script only works with Vixie cron or derivatives. echo Install OTRS cron jobs manually. exit 1 ;; HP-UX) echo HP-UX detected. This script only works with Vixie cron or derivatives. echo Install OTRS cron jobs manually. exit 1 ;; *) ;; esac This won't solve the problem but will not lead astray novice Solaris, AIX or HP-UX users. Brian From: Michiel Beijen michiel.bei...@gmail.com To: brianmortonb2b-atw...@yahoo.dk brianmortonb2b-atw...@yahoo.dk; User questions and discussions about OTRS. otrs@otrs.org Sent: Friday, August 24, 2012 12:45 PM Subject: Re: [otrs] cron jobs syntax Hi Brian, Thanks for the suggestion, but can you please be a little more specific as to which platforms and versions you know that do not understand the Vixie syntax OTRS uses? AFAIK all Linuxen and *BSDs have vixie cron or anacron and this is no problem there. Also, I still have to run into the first company to want to run OTRS on AIX or HP-UX. -- Mike On Fri, Aug 24, 2012 at 11:33 AM, brianmortonb2b-atw...@yahoo.dk brianmortonb2b-atw...@yahoo.dk wrote: The cron jobs that script bin/Cron.sh tries to insert implicitly depends on the platform having Paul Vixie's cron because it use the slash syntax for repeating ranges. Many Unix/Linux platforms use this cron, but not all. I suggest to make this a little more portable. Example: Instead of writing: */20 * * * * $HOME/bin/otrs.GenericAgent.pl /dev/null then bite the bullet and do: 0,20,40 * * * * $HOME/bin/otrs.GenericAgent.pl /dev/null Yes, I know it looks ugly but it will make OTRS more portable. Lastly not all cron's support the 'crontab filename username' syntax. However they all support the 'crontab filename' syntax meaning that in order to be truly portable you have to change the script so that it MUST be executed as the OTRS user himself, not as root. A small price to pay for portability. Brian - 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- 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
[otrs] cron jobs syntax
The cron jobs that script bin/Cron.sh tries to insert implicitly depends on the platform having Paul Vixie's cron because it use the slash syntax for repeating ranges. Many Unix/Linux platforms use this cron, but not all. I suggest to make this a little more portable. Example: Instead of writing: */20 * * * * $HOME/bin/otrs.GenericAgent.pl /dev/null then bite the bullet and do: 0,20,40 * * * * $HOME/bin/otrs.GenericAgent.pl /dev/null Yes, I know it looks ugly but it will make OTRS more portable. Lastly not all cron's support the 'crontab filename username' syntax. However they all support the 'crontab filename' syntax meaning that in order to be truly portable you have to change the script so that it MUST be executed as the OTRS user himself, not as root. A small price to pay for portability. Brian - 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
Re: [otrs] cron jobs syntax
Hi Brian, Thanks for the suggestion, but can you please be a little more specific as to which platforms and versions you know that do not understand the Vixie syntax OTRS uses? AFAIK all Linuxen and *BSDs have vixie cron or anacron and this is no problem there. Also, I still have to run into the first company to want to run OTRS on AIX or HP-UX. -- Mike On Fri, Aug 24, 2012 at 11:33 AM, brianmortonb2b-atw...@yahoo.dk brianmortonb2b-atw...@yahoo.dk wrote: The cron jobs that script bin/Cron.sh tries to insert implicitly depends on the platform having Paul Vixie's cron because it use the slash syntax for repeating ranges. Many Unix/Linux platforms use this cron, but not all. I suggest to make this a little more portable. Example: Instead of writing: */20 * * * *$HOME/bin/otrs.GenericAgent.pl /dev/null then bite the bullet and do: 0,20,40 * * * *$HOME/bin/otrs.GenericAgent.pl /dev/null Yes, I know it looks ugly but it will make OTRS more portable. Lastly not all cron's support the 'crontab filename username' syntax. However they all support the 'crontab filename' syntax meaning that in order to be truly portable you have to change the script so that it MUST be executed as the OTRS user himself, not as root. A small price to pay for portability. Brian - 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 - 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
[otrs] Cron Jobs on Solaris 10
Hi ALL, I have otrs 2.4.7 running on Postgresql 8.3.7 and Solaris 10. I have configured the cron scripts in $OTRS_HOME/var/cron. But when I execute $./Cron.sh start otrs, I get the error ./Cron.sh: -: does not exist; what could this be? Rgds Michael - 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
Re: [otrs] Cron jobs : what to change to make the refresh quickier?
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 :s.b...@groupenci.com 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 : otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] 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 : otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] De la part de Ralf Hildebrandt Envoyé : vendredi 22 janvier 2010 10:35 À : otrs@otrs.org Objet : Re: [otrs] Cron jobs : what to change to make the refresh quickier? * Martignier, Philippe philippe.martign...@wipo.int: 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 ralf.hildebra...@charite.de | 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/
Re: [otrs] Cron jobs : what to change to make the refresh quickier?
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 s.b...@groupenci.com: 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 :s.b...@groupenci.com 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 : otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] 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 : otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] De la part de Ralf Hildebrandt Envoyé : vendredi 22 janvier 2010 10:35 À : otrs@otrs.org Objet : Re: [otrs] Cron jobs : what to change to make the refresh quickier? * Martignier, Philippe philippe.martign...@wipo.int: 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 ralf.hildebra...@charite.de | 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
Re: [otrs] Cron jobs : what to change to make the refresh quickier?
Sebastien, OTRS provides a [cronw] windows service (http://cronw.sourceforge.net) to copy the standard cron unix/linux service. Scheduled jobs are described in a crontab.txt file, that you probably find in C:\Program Files\OTRS\CRONw. You will find the PostMasterMailbox.pl line in this contab.txt file. It is written like this, in a windows environment : */10 * * * *C:/PROGRA~1/OTRS/StrawberryPerl/perl/bin/perl.exe C:/PROGRA~1/OTRS/OTRS/bin/PostMasterMailbox.pl Just change the */10 (every ten minutes) with */3 or */5, for instance. french OTRS pour Windows est livré avec une copie Windows du planificateur cron du monde Unix/Linux, c'est le cronw qui apparait dans le dossier OTRS. Les tâches à traiter sont dans le fichier crontab.txt. Le format des fichiers crontab est disponible sur le net. La ligne désignant la récupération des messages figure dans ce crontab.txt. Il suffit de modifier le */10 (toutes les 10 minutes) de la ligne */10 * * * *C:/PROGRA~1/OTRS/StrawberryPerl/perl/bin/perl.exe C:/PROGRA~1/OTRS/OTRS/bin/PostMasterMailbox.pl par */3 ou */5. /french Have a nice day, Florian. -Message d'origine- De : otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] De la part de Sebastien Bory Envoyé : lundi 25 janvier 2010 12:56 À : 'User questions and discussions about OTRS.' Objet : Re: [otrs] Cron jobs : what to change to make the refresh quickier? 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 :s.b...@groupenci.com 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 : otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] 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 : otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] De la part de Ralf Hildebrandt Envoyé : vendredi 22 janvier 2010 10:35 À : otrs@otrs.org Objet : Re: [otrs] Cron jobs : what to change to make the refresh quickier? * Martignier, Philippe philippe.martign...@wipo.int: 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 ralf.hildebra...@charite.de | 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
Re: [otrs] Cron jobs : what to change to make the refresh quickier?
* Martignier, Philippe philippe.martign...@wipo.int: 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 ralf.hildebra...@charite.de | 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/
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 : otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] De la part de Ralf Hildebrandt Envoyé : vendredi 22 janvier 2010 10:35 À : otrs@otrs.org Objet : Re: [otrs] Cron jobs : what to change to make the refresh quickier? * Martignier, Philippe philippe.martign...@wipo.int: 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 ralf.hildebra...@charite.de | 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/
Re: [otrs] Cron jobs : what to change to make the refresh quickier?
* Florian Houel florian.ho...@arcanal.fr: 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. But that's basically fetchmail! -- 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 ralf.hildebra...@charite.de | 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/
Re: [otrs] Cron jobs : what to change to make the refresh quickier?
* Ralf Hildebrandt ralf.hildebra...@charite.de: * Florian Houel florian.ho...@arcanal.fr: 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. But that's basically fetchmail! If he wants instant delivery, make the addresses handled by OTRS deliver to OTRS directly. We're using: ab...@... o...@otrs.charite.de postmas...@... o...@otrs.charite.de on our mailserver and on otrs.charite.de we use: |/opt/otrs/bin/PostMaster.pl for the otrs user. This guarantees instant delivery. -- 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 ralf.hildebra...@charite.de | 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/
Re: [otrs] Cron jobs : what to change to make the refresh quickier?
Thanks for your quick responses! As our transfer is a bit complex than explained (users still want to keep messages in outlook, yes they do like a parallel work at the moment), I will try the Florian solution. So if I understand right we have to move the comments and place 3 or 5 instead the 10 ... Do you know if the fact that changing that parameter can interfer with other cron jobs ? Any side effects? Many thanks World Intellectual Property Organization Disclaimer: This electronic message may contain privileged, confidential and copyright protected information. If you have received this e-mail by mistake, please immediately notify the sender and delete this e-mail and all its attachments. Please ensure all e-mail attachments are scanned for viruses prior to opening or using. - 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/
Re: [otrs] Cron jobs : what to change to make the refresh quickier?
Martignier, Philippe wrote : [...] So if I understand right we have to move the comments and place 3 or 5 instead the 10 ... Do you know if the fact that changing that parameter can interfer with other cron jobs ? Any side effects? Hello Philippe, AFAIK there are no side effects, we use this in production since months. But since the cronjobs are created dynamically you also have to modify the corresponding *.dist files to make the change permanent. Regards Alexander -- radprax Gesellschaft fuer medizinische Versorgungszentren mbH, Bergstr. 7 - 9, 42105 Wuppertal, Fon: +49 202 2489 1110, Fax: +49 202 2489 94 1119 Geschaeftsfuehrer: Andreas Martin, Dr. med. Heiner Steffens, Dr. med. Renate Tewaag Amtsgericht Wuppertal: HRB 19359, St.-Nr.: 5132/5889/0264, DE 814559152 Web: http://www.radprax.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/
Re: [otrs] Cron jobs creating error email? - GenericAgent.pl UnlockTickets
Hi, On Thu, May 10, 2007 at 11:52:52AM +0100, Mike Dent wrote: Hi, since I installed the cron jobs for user OTRS, I am now getting several emails with an error in them. the error is:- DBI::db=HASH(0x871f038)-disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at /opt/otrs/Kernel/System/DB.pm line 223, PRODUCT line 4. The jobs which I am seeing the error from up to now are:- Cron [EMAIL PROTECTED] $HOME/bin/GenericAgent.pl -c db /dev/null Cron [EMAIL PROTECTED] $HOME/bin/GenericAgent.pl /dev/null Cron [EMAIL PROTECTED] $HOME/bin/UnlockTickets.pl --timeout /dev/null OTRS 2.1.7, CGI and Ubuntu 6.10. Are these anything to worry about? No, you don't have to worry on them. However, the problem is reported in our bugtracking system on http://bugs.otrs.org Mike -- Christian ((otrs)) :: OTRS GmbH :: Norsk-Data-Strasse 1 :: 61352 Bad Homburg Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18 http://www.otrs.com/ :: Communication with success! Geschäftsführer: André Mindermann, Martin Edenhofer Handelsregister: HRB 9452 Bad Homburg Steuernummer: 003/240/97521 signature.asc Description: Digital signature ___ 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 Support or consulting for your OTRS system? = http://www.otrs.com/
Re: [otrs] Cron jobs creating error email? - GenericAgent.pl UnlockTickets
On 5/15/07, Christian Schoepplein [EMAIL PROTECTED] wrote: Hi, On Thu, May 10, 2007 at 11:52:52AM +0100, Mike Dent wrote: Hi, since I installed the cron jobs for user OTRS, I am now getting several emails with an error in them. the error is:- DBI::db=HASH(0x871f038)-disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at /opt/otrs/Kernel/System/DB.pm line 223, PRODUCT line 4. The jobs which I am seeing the error from up to now are:- Cron [EMAIL PROTECTED] $HOME/bin/GenericAgent.pl -c db /dev/null Cron [EMAIL PROTECTED] $HOME/bin/GenericAgent.pl /dev/null Cron [EMAIL PROTECTED] $HOME/bin/UnlockTickets.pl --timeout /dev/null OTRS 2.1.7, CGI and Ubuntu 6.10. Are these anything to worry about? No, you don't have to worry on them. However, the problem is reported in our bugtracking system on http://bugs.otrs.org Great, thanks. I commented out the MAILTO line in the crontab file for now so at least they do not get sent anymore, a temporary fix until you manage to get to that one :) Mike ___ 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 Support or consulting for your OTRS system? = http://www.otrs.com/
[otrs] Cron jobs creating error email? - GenericAgent.pl UnlockTickets
Hi, since I installed the cron jobs for user OTRS, I am now getting several emails with an error in them. the error is:- DBI::db=HASH(0x871f038)-disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at /opt/otrs/Kernel/System/DB.pm line 223, PRODUCT line 4. The jobs which I am seeing the error from up to now are:- Cron [EMAIL PROTECTED] $HOME/bin/GenericAgent.pl -c db /dev/null Cron [EMAIL PROTECTED] $HOME/bin/GenericAgent.pl /dev/null Cron [EMAIL PROTECTED] $HOME/bin/UnlockTickets.pl --timeout /dev/null OTRS 2.1.7, CGI and Ubuntu 6.10. Are these anything to worry about? Can I stop them. thanks Mike ___ 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 Support or consulting for your OTRS system? = http://www.otrs.com/
Re: [otrs] Cron jobs in windows
Hi Keith, looking at install-root\OTRS_Restart.bat you find the command: perl.exe install-roototrs\bin\Cron4Win32.pl This re-reads var\cron\postmaster_pop3.dist and updates CRONw\crontab.txt. There you will find the updated value. Restart of OTRS should not be necessary as the crontab.txt may be updated while the cron service is running and it picks up any changes. At least CRONw\README.txt says: quote The service will parse the crontab again if it the file modification time changed since last parsing so feel free to alter the crontab while the service is running. /quote What I don't know is, how often the cron service checks the crontab.txt for modifications. You may force by restarting cron only (without OTRS as a whole) using the commands net stop cron and net start cron. So what you will have to do is: * Update var\cron\postmaster_pop3.dist * Call perl otrs\bin\Cron4Win32.pl * (optional) net [stop|start] cron That should do it. HTH, Tobias Keith Turner schrieb: I want to download pop3 mail every 5 minutes instead of 10. Looking at the manual, the chron job instructions at http://doc.otrs.org/2.1/en/html/x1215.html#email-receiving-pop3 http://doc.otrs.org/2.1/en/html/x325.html#cronjobs seem to be linux specific, we're using WindowsServer2003. Is it as simple as editing var\cron\postmaster_pop3.dist to read */5 * * * * $HOME/bin/PostMasterPOP3.pl /dev/null instead of */10 * * * * $HOME/bin/PostMasterPOP3.pl /dev/null ? Is a restart of OTRS needed to initialize it? Or do I need to set up a recurring job on the windows system itself? Keith ___ 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 Support orr consulting for your OTRS system? = http://www.otrs.com/ -- Tobias Lütticke ___ 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 Support orr consulting for your OTRS system? = http://www.otrs.com/
Re: [otrs] Cron jobs in windows
Thanks Tobias, This seems to be working. Keith Hi Keith, looking at install-root\OTRS_Restart.bat you find the command: perl.exe install-roototrs\bin\Cron4Win32.pl This re-reads var\cron\postmaster_pop3.dist and updates CRONw\crontab.txt. There you will find the updated value. Restart of OTRS should not be necessary as the crontab.txt may be updated while the cron service is running and it picks up any changes. At least CRONw\README.txt says: quote The service will parse the crontab again if it the file modification time changed since last parsing so feel free to alter the crontab while the service is running. /quote What I don't know is, how often the cron service checks the crontab.txt for modifications. You may force by restarting cron only (without OTRS as a whole) using the commands net stop cron and net start cron. So what you will have to do is: * Update var\cron\postmaster_pop3.dist * Call perl otrs\bin\Cron4Win32.pl * (optional) net [stop|start] cron That should do it. HTH, Tobias ___ 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 Support orr consulting for your OTRS system? = http://www.otrs.com/
[otrs] Cron jobs in windows
I want to download pop3 mail every 5 minutes instead of 10. Looking at the manual, the chron job instructions at http://doc.otrs.org/2.1/en/html/x1215.html#email-receiving-pop3 http://doc.otrs.org/2.1/en/html/x325.html#cronjobs seem to be linux specific, we're using WindowsServer2003. Is it as simple as editing var\cron\postmaster_pop3.dist to read */5 * * * * $HOME/bin/PostMasterPOP3.pl /dev/null instead of */10 * * * * $HOME/bin/PostMasterPOP3.pl /dev/null ? Is a restart of OTRS needed to initialize it? Or do I need to set up a recurring job on the windows system itself? Keith ___ 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 Support orr consulting for your OTRS system? = http://www.otrs.com/
[otrs] cron jobs not working anymore
Please help I am not receiving tickets anymore on the otrs system. I have trying to run the cron jobs again and still they are not working. When I run crontab u otrs l there is no cron jobs running ___ 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 Support orr consulting for your OTRS system? = http://www.otrs.com/
[otrs-de] Otrs cron-jobs
Hallo, ich bekomme seit Dienstag von allen OTRS Cronjobs die unten folgende Fehlermeldung. Rufe ich die Jobs als root auf, läuft alles ok. Auch die Webfunktionen liefern keine Fehler Vermutlich hat ein (Suse-You)-Update irgendeine Einstellung verändert. Hat sonst jemand schon dieses Verhalten beobachtet? DBI connect('database=otrs;host=localhost;','otrs',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /opt/otrs/Kernel/System/DB.pm line 191 ERROR: OTRS-GenericAgent-10 Perl: 5.8.7 OS: linux Time: Thu Sep 21 16:00:02 2006 Message: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Traceback (15657): Module: Kernel::System::DB::new (v1.47) Line: 168 Module: /opt/otrs/bin/GenericAgent.pl (v1.36) Line: 105 Got no DBObject! at /opt/otrs/Kernel/System/PID.pm line 69, PRODUCT line 4. -- Mit freundlichen Gruessen Anton Kornexl Rechenzentrum Universität Passau Innstr. 33 D-90432 Passau Tel.: 0851/509-1812 Fax: 0851/509-1802 ___ OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/ Archiv: http://lists.otrs.org/pipermail/otrs-de/ Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/ Support oder Consulting fuer Ihr OTRS System? = http://www.otrs.com/
Re: [otrs-de] Otrs cron-jobs
Anton Kornexl schrieb: Hallo, ich bekomme seit Dienstag von allen OTRS Cronjobs die unten folgende Fehlermeldung. Rufe ich die Jobs als root auf, läuft alles ok. Auch die Webfunktionen liefern keine Fehler Vermutlich hat ein (Suse-You)-Update irgendeine Einstellung verändert. Hat sonst jemand schon dieses Verhalten beobachtet? Hallo, Bitte ignorieren Sie diese Meldung ! Es hat sich erledigt. Man sollte doch genau hinsehen. -- Mit freundlichen Gruessen Anton Kornexl Rechenzentrum Universität Passau Innstr. 33 D-90432 Passau Tel.: 0851/509-1812 Fax: 0851/509-1802 ___ OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/ Archiv: http://lists.otrs.org/pipermail/otrs-de/ Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/ Support oder Consulting fuer Ihr OTRS System? = http://www.otrs.com/
[otrs] Cron Jobs
Hi , Running OTRS 2.0.4 on Ubuntu 6.06 TLS , installed from source , all went well , but for some reason the cronjobs are not working. I checked that they are in the crontab , as well as the logs , it seems to run the jobs (postmasterpop3.pl spesifically) , but no new tickets arrive. I also checked the Syslog for any errors , but none By all accounts it should work , but it's not working , really puzzling. I've even added it to the system wide crontab , still , no tickets. When i run PostmasterPOP3.pl manually , mail then gets fetched and inserted inti OTRS. Really a head scratcher so any ideas would be greatly appreciated. Daniel ___ 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 Support orr consulting for your OTRS system? = http://www.otrs.com/
RE: [otrs] Cron Jobs
Thanks, cronjobs are now running, but I got an emails send to me from [EMAIL PROTECTED], please advise Hi Mamakwa, there is a new ticket in Business Support! [EMAIL PROTECTED] (Cron Daemon) wrote: snip Error: Config.pm No value for 'Database::Type' in Config.pm found! Error: Config.pm No value for 'Database::Type' in Config.pm found! Error: Config.pm No value for 'Database::Limit' in Config.pm found! Error: Config.pm No value for 'Database::DirectBlob' in Config.pm found! Error: Config.pm No value for 'Database::Attribute' in Config.pm found! Error: Config.pm No value for 'Database::QuoteSingle' in Config.pm found! Error: Config.pm No value for 'Database::QuoteBack' in Config.pm found! DBI connect('database=otrs;host=cheetah.nrf.ac.za;','otrs',...) failed: Can't connect to MySQL server on 'cheetah.nrf.ac.za' (111) at /opt/otrs/Kernel/System/DB.pm line 191 ERROR: OTRS-PM3-10 Perl: 5.8.7 OS: linux Time: Fri Apr 28 10:40:02 2006 Message: Can't connect to MySQL server on 'cheetah.nrf.ac.za' (111) Traceback (27990): snip http://helpdesk.nrf.ac.za/otrs/index.pl?Action=""> Your OTRS Notification Master From: Help Desk [mailto:[EMAIL PROTECTED] Sent: 26 April 2006 04:19 PM To: User questions and discussions about OTRS.org Subject: Re: [otrs] Cron Jobs Try: $crontab -e -u otrs or $ su - otrs $ crontab -e -- Downtown Help Desk System Administrator - Original Message - From: Mamakwa M. Sefiri To: User questions and discussions about OTRS.org Sent: Wednesday, April 26, 2006 10:13 AM Subject: RE: [otrs] Cron Jobs When I run crontab l u otrs I get an error that says no crontabs for otrs From: Mamakwa M. Sefiri Sent: 26 April 2006 04:08 PM To: User questions and discussions about OTRS.org Subject: [otrs] Cron Jobs I also have problem about cron jobs. When I get to : linux:/opt/otrs/bin# su otrs linux:~/bin$ ./Cron.sh start as instructed from the manual I get an error that I must run the srip as an otrs user please advise Thanks Mamakwa ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
[otrs] Managing otrs cron jobs
Hi all, I have a problem with the otrs cron jobs to receive incoming mail. How can I be sure that otrs cron jobs are running ? How can I start them ? Where a redirect otrs cron jobs errors ? Thanks in advance -- Guillaume REHM Service Informatique Bibliothèque Nationale et Universitaire de Strasbourg 5 rue du Maréchal Joffre BP 51029 67070 Strasbourg tél: 03 88 25 28 43 fax: 03 88 25 28 03 mail: [EMAIL PROTECTED] web: http://www.bnu.fr ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] Managing otrs cron jobs
take a look at .../bin/Cron.sh in the otrs installation Li [EMAIL PROTECTED] schrieb am 26.04.2006 11:00:20: Hi all, I have a problem with the otrs cron jobs to receive incoming mail. How can I be sure that otrs cron jobs are running ? How can I start them ? Where a redirect otrs cron jobs errors ? Thanks in advance -- Guillaume REHM Service Informatique Bibliothèque Nationale et Universitaire de Strasbourg 5 rue du Maréchal Joffre BP 51029 67070 Strasbourg tél: 03 88 25 28 43 fax: 03 88 25 28 03 mail: [EMAIL PROTECTED] web: http://www.bnu.fr ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] Managing otrs cron jobs
Hello, Thank you for this info, but how can I run it with otrs user ? How I can see if this cron is running ? Thanks in advance Guillaume REHM Service Informatique Bibliothque Nationale et Universitaire de Strasbourg 5 rue du Marchal Joffre BP 51029 67070 Strasbourg tl: 03 88 25 28 43 fax: 03 88 25 28 03 mail: [EMAIL PROTECTED] web: http://www.bnu.fr [EMAIL PROTECTED] a crit: take a look at .../bin/Cron.sh in the otrs installation Li [EMAIL PROTECTED] schrieb am 26.04.2006 11:00:20: Hi all, I have a problem with the otrs cron jobs to receive incoming mail. How can I be sure that otrs cron jobs are running ? How can I start them ? Where a redirect otrs cron jobs errors ? Thanks in advance -- Guillaume REHM Service Informatique Bibliothque Nationale et Universitaire de Strasbourg 5 rue du Marchal Joffre BP 51029 67070 Strasbourg tl: 03 88 25 28 43 fax: 03 88 25 28 03 mail: [EMAIL PROTECTED] web: http://www.bnu.fr ___ 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 Support oder Consulting fr Ihr OTRS System? = http://www.otrs.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 Support oder Consulting fr Ihr OTRS System? = http://www.otrs.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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] Managing otrs cron jobs
Hi Guillaume, On Mi, Apr 26, 2006 at 11:17:01 +0200, Guillaume Rehm wrote: Thank you for this info, but how can I run it with otrs user ? as root: su -s /bin/bash otrs ~otrs/bin/Cron.sh start otrs How I can see if this cron is running ? as root: crontab -u otrs -l For more details, please have a look at the admin manual, section 3.2.5 at http://doc.otrs.org/2.0/en/html/x357.html#cronjobs Regards, Henning -- Henning Oschwald ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success! pgp5ERyD9KiJV.pgp Description: PGP signature ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
[otrs] Cron Jobs
I also have problem about cron jobs. When I get to : linux:/opt/otrs/bin# su otrs linux:~/bin$ ./Cron.sh start as instructed from the manual I get an error that I must run the srip as an otrs user please advise Thanks Mamakwa ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
RE: [otrs] Cron Jobs
When I run crontab l u otrs I get an error that says no crontabs for otrs From: Mamakwa M. Sefiri Sent: 26 April 2006 04:08 PM To: User questions and discussions about OTRS.org Subject: [otrs] Cron Jobs I also have problem about cron jobs. When I get to : linux:/opt/otrs/bin# su otrs linux:~/bin$ ./Cron.sh start as instructed from the manual I get an error that I must run the srip as an otrs user please advise Thanks Mamakwa ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] Cron Jobs
Try: $crontab -e -u otrs or $ su - otrs $ crontab -e --Downtown Help DeskSystem Administrator - Original Message - From: Mamakwa M. Sefiri To: User questions and discussions about OTRS.org Sent: Wednesday, April 26, 2006 10:13 AM Subject: RE: [otrs] Cron Jobs When I run crontab l u otrs I get an error that says no crontabs for otrs From: Mamakwa M. Sefiri Sent: 26 April 2006 04:08 PMTo: User questions and discussions about OTRS.orgSubject: [otrs] Cron Jobs I also have problem about cron jobs. When I get to : linux:/opt/otrs/bin# su otrs linux:~/bin$ ./Cron.sh start as instructed from the manual I get an error that I must run the srip as an otrs user please advise Thanks Mamakwa ___OTRS mailing list: otrs - Webpage: http://otrs.org/Archive: http://lists.otrs.org/pipermail/otrsTo unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrsSupport oder Consulting für Ihr OTRS System?= http://www.otrs.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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] Cron Jobs
I solve my cron jobs problem like that. Under otrs user I create a cron (crontab -e) and put this command */10 * * * * /usr/share/otrs/bin/PostMasterPOP3.pl /dev/null And after i must modify /usr/share/otrs/Kernel/System/DB.pm and put login and password to connect to mysql database. line 55 $DBObject = Kernel::System::DB-new( ConfigObject = $ConfigObject, LogObject = $LogObject, # if you don't use the follow params, then this are used # from Kernel/Config.pm! DatabaseDSN = 'DBI:odbc:database=123;host=localhost;', DatabaseUser = 'otrsmysqluser', DatabasePw = 'otrsmysqlpassword', Type = 'mysql', Attribute = { LongTruncOk = 1, LongReadLen = 100*1024, }, It's strange, because all mysql connection works fine, just cron don't working. And in Config.pm, all mysql settings are ok. I run otrs 1.3.2 Bye Guillaume REHM Service Informatique Bibliothque Nationale et Universitaire de Strasbourg 5 rue du Marchal Joffre BP 51029 67070 Strasbourg tl: 03 88 25 28 43 fax: 03 88 25 28 03 mail: [EMAIL PROTECTED] web: http://www.bnu.fr Help Desk a crit: Try: $crontab -e -u otrs or $ su - otrs $ crontab -e -- Downtown Help Desk System Administrator - Original Message - From: Mamakwa M. Sefiri To: User questions and discussions about OTRS.org Sent: Wednesday, April 26, 2006 10:13 AM Subject: RE: [otrs] Cron Jobs When I run crontab l u otrs I get an error that says no crontabs for otrs From: Mamakwa M. Sefiri Sent: 26 April 2006 04:08 PM To: User questions and discussions about OTRS.org Subject: [otrs] Cron Jobs I also have problem about cron jobs. When I get to : linux:/opt/otrs/bin# su otrs linux:~/bin$ ./Cron.sh start as instructed from the manual I get an error that I must run the srip as an otrs user please advise Thanks Mamakwa ___ 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 Support oder Consulting fr Ihr OTRS System? = http://www.otrs.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 Support oder Consulting fr Ihr OTRS System? = http://www.otrs.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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] Cron Jobs
Hello, On Wed, Apr 26, 2006 at 04:07:30PM +0200, Mamakwa M. Sefiri wrote: I also have problem about cron jobs. When I get to : linux:/opt/otrs/bin# su otrs linux:~/bin$ ./Cron.sh start as instructed from the manual I get an error that I must run the srip as an otrs user Before running './Cron.sh start', make sure that the su command was successful. Maybe your otrs user has no login shell, in wich case the su command may fail silently. To determine the username under wich you're working currently, enter 'whoami'. Regards, Henning -- Henning Oschwald ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success! pgpl7WfbwTcXy.pgp Description: PGP signature ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
[otrs] cron jobs
I was looking through recent postings and saw some conversation about the cron jobs being installed. Just out of curiosity i was wondering what jobs are crucial? Which ones can i live with out. I am asking because for some reason i cannot get them to work all of them return errors saying permission denied i am almost 100 percent sure it is because the user that runs the job and the user that has permission to those files are different. Anyway about everyday i get about 1000+ messages in /var/mail/root saying Date: Wed, 5 Apr 2006 09:30:01 -0600 (MDT)From: Cron Daemon [EMAIL PROTECTED]To: [EMAIL PROTECTED]Subject: Cron [EMAIL PROTECTED] $HOME/bin/PostMasterPOP3.pl /dev/null /bin/sh: /opt/otrs/bin/PostMasterPOP3.pl: Permission denied any ideas? ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] cron jobs
try this: chmod +x /opt/otrs/bin/PostMasterPOP3.pl Mike Conigliaro ProActive Technologies [EMAIL PROTECTED] 203.239.0440 ext:317 www.getproactivenow.com Cody Grosskopf wrote: I was looking through recent postings and saw some conversation about the cron jobs being installed. Just out of curiosity i was wondering what jobs are crucial? Which ones can i live with out. I am asking because for some reason i cannot get them to work all of them return errors saying permission denied i am almost 100 percent sure it is because the user that runs the job and the user that has permission to those files are different. Anyway about everyday i get about 1000+ messages in /var/mail/root saying Date: Wed, 5 Apr 2006 09:30:01 -0600 (MDT) From: Cron Daemon [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] $HOME/bin/PostMasterPOP3.pl /dev/null /bin/sh: /opt/otrs/bin/PostMasterPOP3.pl: Permission denied any ideas? ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] Cron jobs for otrs user does not start
Check whether you have /etc/cron.allow and whether otrs user is allowed to run cron Or, is crond actually running? --- Mike Lykov [EMAIL PROTECTED] wrote: Ð ÑообÑении Ð¾Ñ ÐонеделÑник 13 ФевÑÐ°Ð»Ñ 2006 17:27 Alina Florea напиÑал(a): I must launch /opt/otrs/bin/PostMasterPOP3.pl manually in order to have teh new emails comming in OTRS system. This line */10 * * * * $HOME/bin/PostMasterPOP3.pl /dev/null exists in the crontab. I don't see were the problem could be. Can anyone help me? Alina, try: - change /dev/null to some file , like /tmp/cronlog - see at your syslog, if configured, like /var/log/cron/ -- Mike Lykov ISP Samtelecom, Administrator ___ 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 Support oder Consulting f�r Ihr OTRS System? = http://www.otrs.de/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] Cron jobs for otrs user does not start
В сообщении от Понедельник 13 Февраль 2006 17:27 Alina Florea написал(a): I must launch /opt/otrs/bin/PostMasterPOP3.pl manually in order to have teh new emails comming in OTRS system. This line */10 * * * * $HOME/bin/PostMasterPOP3.pl /dev/null exists in the crontab. I don't see were the problem could be. Can anyone help me? Alina, try: - change /dev/null to some file , like /tmp/cronlog - see at your syslog, if configured, like /var/log/cron/ -- Mike Lykov ISP Samtelecom, Administrator ___ 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 Support oder Consulting f�r Ihr OTRS System? = http://www.otrs.de/
[otrs] Cron Jobs and Charts installation
Dear Sirs, I believe I incorrectly set up cron jobs. I set up the Postmaster.pl to check for emails with my own cron job: (/opt/otrs/bin/./PostMasterPOP3.pl /dev/null) but after looking to set up charts, I read this statement in the setup guide: 11. Cronjobs for the OTRS user: --- There are several OTRS default cronjobs in $OTRS_HOME/var/cron/*.dist. Make copies of all of the default cronjobs: cd var/cron for foo in *.dist; do cp $foo `basename $foo .dist`; done Or if you are installing OTRS an a Windows system: cd var/cron copy *.dist *. Use $OTRS_HOME/bin/Cron.sh {start|stop|restart} to start or stop this cr onjobs from $OTRS_HOME/var/cron/* (.dist will be ignored). Note: Install this cronjobs as OTRS user. I think there are other important cron jobs that should be running as well as this may allow graphs. I don't have an OTRS system user currently - do I need to create one first? Create an OTRS group? And with which rights? Do I create copies of all the files in var/cron to a different, or same directory? What's the exact syntax for starting Cron.sh? Further, when running ./mkStats.pl I am returned: Can't locate GD.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib /opt/otrs /etc/perl /usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.1 /usr/share/perl/5.8.1 /usr/local/lib/site_perl .) at ./mkStats.pl line 36. BEGIN failed--compilation aborted at ./mkStats.pl line 36. Thanks for all of your support! Jason Coltrin AGIA ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
Re: [otrs] Cron Jobs and Charts installation
On Monday, February 23, 2004 11:44 PM Jason Coltrin [EMAIL PROTECTED] wrote: Dear Sirs, And Madams, hopefully... I think there are other important cron jobs that should be running as well as this may allow graphs. I don't have an OTRS system user currently - do I need to create one first? Ouch - how did you really manage OTRS so far? Well, yes, a Linux system might run having everything set to 777, but it's more safe to use a specific user to operate on a server product. I believe no serious admin to have his/her apache running as root these days, for example, whereas in former days you'd encounter this case quite often... Create an OTRS group? And with which rights? from INSTALL: 2. Create user: Add user: - $shell: useradd -d /opt/otrs/ -c 'OTRS user' otrs Add user to webserver group (if the webserver is not running with OTRS user): - $shell: usermod -G nogroup otrs (SuSE=nogroup, Red Hat=apache) Do I create copies of all the files in var/cron to a different, or same directory? What's the exact syntax for starting Cron.sh? # Cron.sh {start|stop|restart} OTRS_USER Further, when running ./mkStats.pl I am returned: Can't locate GD.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib Install the needed GD modules into your Perl. There are several ways to do so. Using CPAN will always work, I presume, although choosing available rpms or stuff might not be the badest idea around, at least if your system is merely built from rpms or similar binary packages. But in fact, it doesn't matter, really. hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388 ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/
RE: [otrs] Cron Jobs and Charts installation
My mistake, the OTRS User account is there - and I installed as such, I was just looking for the home directory, which I didn't create. In addition, the shell was set to /bin/true - so I couldn't get a shell when I 'su otrs' thanks, it's started now. Thanks for the direction for installing the GD modules into Perl also. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Kehl Sent: Monday, February 23, 2004 3:24 PM To: User questions and discussions about OTRS. Subject: Re: [otrs] Cron Jobs and Charts installation On Monday, February 23, 2004 11:44 PM Jason Coltrin [EMAIL PROTECTED] wrote: Dear Sirs, And Madams, hopefully... I think there are other important cron jobs that should be running as well as this may allow graphs. I don't have an OTRS system user currently - do I need to create one first? Ouch - how did you really manage OTRS so far? Well, yes, a Linux system might run having everything set to 777, but it's more safe to use a specific user to operate on a server product. I believe no serious admin to have his/her apache running as root these days, for example, whereas in former days you'd encounter this case quite often... Create an OTRS group? And with which rights? from INSTALL: 2. Create user: Add user: - $shell: useradd -d /opt/otrs/ -c 'OTRS user' otrs Add user to webserver group (if the webserver is not running with OTRS user): - $shell: usermod -G nogroup otrs (SuSE=nogroup, Red Hat=apache) Do I create copies of all the files in var/cron to a different, or same directory? What's the exact syntax for starting Cron.sh? # Cron.sh {start|stop|restart} OTRS_USER Further, when running ./mkStats.pl I am returned: Can't locate GD.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib Install the needed GD modules into your Perl. There are several ways to do so. Using CPAN will always work, I presume, although choosing available rpms or stuff might not be the badest idea around, at least if your system is merely built from rpms or similar binary packages. But in fact, it doesn't matter, really. hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388 ___ 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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.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 Support oder Consulting für Ihr OTRS System? = http://www.otrs.de/