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.obrien@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-bounces@otrs.org [mailto:otrs-bounces@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.obrien@mediasquare.co.uk]
To: User questions and discussions about OTRS. [mailto:otrs@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-bounces@otrs.org [mailto:otrs-bounces@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.obrien@mediasquare.co.uk]
To: User questions and discussions about OTRS. [mailto:otrs@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-bounces@otrs.org [mailto:otrs-bounces@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.obrien@mediasquare.co.uk]
To: Gordon O'Brien [mailto:gordon.obrien@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.


 

 

 


Inbound email scanned by Mimecast.


 


This email message has been scanned and delivered safely by Mimecast.


 

 

 


Inbound email scanned by Mimecast.


 


This email message has been scanned and delivered safely by Mimecast.


 

 

 


Inbound email scanned by Mimecast.





This email message has been scanned and 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/