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 »


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141031064921.gb1...@gmail.com

Reply via email to