[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preventing the computer from shutting down.



On 30/10/14 at 12:11pm, Mario Castelán Castro wrote:
> Hello.
> 
> I can set up a script for backup with cron or anacron, but how can I prevent
> the computer from shutting down while the backup is being performed so as to
> not to leave it incomplete?.
> 
> Regards.

If I understand you request you could add some lines to you script in order to 
terminate your login manager, run your backup and then shutdown if and only if
your backup script is not currently being executed.


-- 
« Nunc est bibendum, nunc pede libero pulsanda tellus »


Reply to: