Re: How to run a script before shutdown?
On Sunday, November 13, 2016 08:29:46 PM David Christensen wrote:
> On 11/13/2016 11:34 AM, Robert Latest wrote:
> > I want to automatically start a data backup script (to USB or network
> > drive) at each shutdown of my computer.
>
> Rather than having the system call my backup/ archive scripts, I have my
> backup/ archive scripts call 'shutdown' when they're done.
I'm not the OP, but, wonderful idea! And, of course, I can pass a parameter
to my backup script--one case to shutdown after the backup, and one not to
shutdown!
Reply to: