BackupPC-users

Re: [BackupPC-users] restart automatically a service

2010-05-27 12:14:17
Subject: Re: [BackupPC-users] restart automatically a service
From: Ed McDonagh <ed.mcdonagh AT rmh.nhs DOT uk>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 27 May 2010 17:12:37 +0100
Which user are you setting the cron job for? It presumably needs to be
root or backuppc?

On Thu, 2010-05-27 at 04:36 -0400, mox wrote:
> Hello
> 
> I have a box Suse 11.1  with a service that (I dont know why) every day stop 
> at the same time. Im finding why it come to a halt but in the meantime  I 
> would like restart it automatically.
> As root I insert in crontab the line:
> 
> 25      16      *       *       *       /etc/init.d/backuppc start
> But it dont works
> 
> If I launch manually /etc/init.d/backuppc start (or stop) it works!
> What Iam wrong? How I can automatically restart the service?
> 
> Thanks  :)
> 
> +----------------------------------------------------------------------
> |This was sent by diamond88 AT gmail DOT com via Backup Central.
> |Forward SPAM to abuse AT backupcentral DOT com.
> +----------------------------------------------------------------------
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/

#########################################################################
Attention:
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary, confidential and/or
privileged information and should not be copied, disclosed, distributed,
retained or used by any other party. If you are not an intended recipient
please notify the sender immediately and delete this e-mail (including
attachments and copies). 

The statements and opinions expressed in this e-mail are those of the
author and do not necessarily reflect those of the Royal Marsden NHS
Foundation Trust. The Trust does not take any responsibility for the
statements and opinions of the author.

Website: http://www.royalmarsden.nhs.uk
#########################################################################

------------------------------------------------------------------------------

_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/