Thanks.

I added the following to /etc/crontab :

@reboot sleep 600; /opt/otrs/bin/ ./Cron sh start otrs

 

After a reboot (and waited for 15 minutes) I still get "no crontab for
otrs"

 

Running /opt/otrs/bin/ ./Cron sh start otrs manually kicks the crontab
into action.

 

 

From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of
Marco Vannini
Sent: 04 January 2010 21:26
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Postmaster Cron does not start after reboot

 

try a 

 

@reboot sleep 600; ./Cron sh start otrs

 

in crontab

 

it starts service after 5 min of last boot

On Mon, Jan 4, 2010 at 10:16 PM, Gordon O'Brien
<gordon.obr...@mediasquare.co.uk> wrote:

Yes, that does work fine and continues to work ok until the server is
rebooted. I then have to manually restart OTRS service (even though it
does start automatically) or start the crontab manually.

 

Is it something to do with suse-rcotrs?

 

From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of
Gerrit Tamboer
Sent: 04 January 2010 21:00
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Postmaster Cron does not start after reboot

 

Try restarting crontab and restarting OTRS...

That should do the trick!

 

 

         

        
________________________________


        From: Gordon O'Brien [mailto:gordon.obr...@mediasquare.co.uk]
        To: User questions and discussions about OTRS.
[mailto:o...@otrs.org]
        Sent: Mon, 04 Jan 2010 20:50:50 +0100
        Subject: Re: [otrs] Postmaster Cron does not start after reboot

        Thank you.

        I had just noticed that there were two postmaster_email files in
my cron folder. On had a ~ suffix on the end and this one has the */5
cron entry in it. I have deleted that file.

         

        Just rebooted and run crontab -u otrs -l and I get:

        "no crontab for otrs".

         

        OTRS is running but I still need to execute 

        ./Cron sh start otrs

         

         

         

        From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On
Behalf Of Gerrit Tamboer
        Sent: 04 January 2010 19:39
        To: User questions and discussions about OTRS.
        Subject: Re: [otrs] Postmaster Cron does not start after reboot

         

        You can remove it by outcommenting the entry.

        Just put # in front of the line.

         

        #   */5 * * * * $HOME/bin/PostMasterMailbox.pl >> dev/null

         

        After that restart the OTRS service.

        That might solve your problem.

                
________________________________


                From: Gordon O'Brien
[mailto:gordon.obr...@mediasquare.co.uk]
                To: User questions and discussions about OTRS.
[mailto:o...@otrs.org]
                Sent: Mon, 04 Jan 2010 20:36:17 +0100
                Subject: Re: [otrs] Postmaster Cron does not start after
reboot

                Thanks for your response.

                I appear to have two entries in crontab for
postmaster_mailbox:

                 

                */1 * * * * $HOME/bin/PostMasterMailbox.pl >> dev/null

                 

                */5 * * * * $HOME/bin/PostMasterMailbox.pl >> dev/null

                 

                Could this be causing the problem?

                How do I remove the latter entry?

                 

                Cheers

                G.O.B.

                 

                 

                From: otrs-boun...@otrs.org
[mailto:otrs-boun...@otrs.org] On Behalf Of Gerrit Tamboer
                Sent: 04 January 2010 17:46
                To: User questions and discussions about OTRS.
                Subject: Re: [otrs] Postmaster Cron does not start after
reboot

                 

                Check the cronjobs.

                 

                /opt/otrs/var/cron

                 

                To see if the cron is running:

                crontab -u -l otrs

                 

                Good luck.

                         

                        
________________________________


                        From: Gordon O'Brien
[mailto:gordon.obr...@mediasquare.co.uk]
                        To: Gordon O'Brien
[mailto:gordon.obr...@mediasquare.co.uk], otrs@otrs.org
                        Sent: Mon, 04 Jan 2010 18:40:03 +0100
                        Subject: [otrs] Postmaster Cron does not start
after reboot

                        Hi

                         

                        I am running OTRS 2.4.5 on OpenSUSE 11.1

                         

                        I have a problem when the server is rebooted
after updates. The Postmaster mail account will not fetch email from the
configured POP3 account unless I click 'run now' or manually execute
./Cron sh start otrs

                         

                        Is there a way for this to automatically start
after a reboot?

                         

                        Thanks.

                         

                         

                        
________________________________


                        This email message has been scanned and
delivered safely by Mimecast <http://www.mimecast.co.uk/> .

                        
________________________________


                 

                 

                 

                
________________________________


                Inbound email scanned by Mimecast. 

                
________________________________


                 

                
________________________________


                This email message has been scanned and delivered safely
by Mimecast <http://www.mimecast.co.uk/> .

                
________________________________


         

         

         

        
________________________________


        Inbound email scanned by Mimecast. 

        
________________________________


         

        
________________________________


        This email message has been scanned and delivered safely by
Mimecast <http://www.mimecast.co.uk/> .

        
________________________________


 

 

 

________________________________

Inbound email scanned by Mimecast. 

________________________________

 

________________________________

This email message has been scanned and delivered safely by Mimecast
<http://www.mimecast.co.uk> .

________________________________


---------------------------------------------------------------------
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/

 

 

________________________________

Inbound email scanned by Mimecast. 

________________________________

-----------------------------------------------------------------------------------------------------------------------------------------
This email message has been delivered safely by Mimecast.
-----------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
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/

Reply via email to