Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old 2 Weeks Ago   #1
Barriehie
Ubuntu Extra Shot
 
Barriehie's Avatar
 
Join Date: Mar 2008
Location: Las Vegas, NV / 127.0.0.1
Beans: 346
Ubuntu 8.04 Hardy Heron
Re: Back In Time

Quote:
Originally Posted by Quarkrad View Post
Roasted - thanks; I followed your instructions and I have got it to work - brilliant. As I use my PC all sorts of times I would really like to run this script (automatically) at shutdown. I am playing with 'Scheduled Tasks' which I believe is based on cron but there is not a 'shutdown' option. Any help on getting scripts to run on shutdown would be much appreciated.
Been googling to no end and it seems that no matter how you choose to shutdown your machine all roads lead to the shutdown command which isn't nice about killing the running process'. How about turning the problem around; make a script that runs your backup routine and then shuts down the computer.

Code:
#!/bin/bash
backuproutine.sh && shutdown -P now
Barrie

Last edited by Barriehie; 2 Weeks Ago at 03:56 PM..
Barriehie is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:00 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry