Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I upload youtube videos over night using a computer running Ubuntu 11.10 as it really eats my bandwidth. But it's normally done when I'm not around, so it wastes quite a bit of energy leaving it running. Is there any way for me to make it shut down after it's finished?

share|improve this question
add comment

1 Answer 1

Instead of using a browser, you can have a look at uploading via a script - you can then create another script which invokes the Youtube Uploader script and then calls the

sudo shutdown -h now

command.

share|improve this answer
1  
You should rather run the whole script as root. If you place a sudo command in the script, it will ask you probably for your password after uploading the video. –  lumbric Feb 21 '12 at 14:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.