Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 03-12-2008, 09:25 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2008
Posts: 4
Default how to schedule ubuntu to start downloading at a specified time

hey, i recently installed ubuntu 8.10, it looks great.. i downloaded som Sware, nd started watchin movies nd listenin to songs, but besides that i also wanted to download at night from 2 to 8 a.m, using bittorrent,
so can anybody tel me how to do it, as i'm new t linux.. i only know t use som commands in a terminal,
in windows Xp, i've configured it using a batch file, nd i hibernate t pc, so that it starts automatically at 2.00 a.m , nd shuts down at 8..
thanks...
powersum is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 04-12-2008, 03:56 PM   #2 (permalink)
Human Spambot
 
Join Date: Jan 2007
Location: Lat 28.38°N , Longt 77.13°E
Posts: 2,429
Default Re: how to schedule ubuntu to start downloading at a specified time

You can automate downloads and shutdown computer using cron but don't know if it's possible to start PC automatically at preset time.
ThinkFree is offline  
Old 05-12-2008, 08:01 AM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2008
Posts: 4
Default Re: how to schedule ubuntu to start downloading at a specified time

hey.. can u post the commands using cron?
powersum is offline  
Old 05-12-2008, 03:54 PM   #4 (permalink)
Human Spambot
 
Join Date: Jan 2007
Location: Lat 28.38°N , Longt 77.13°E
Posts: 2,429
Default Re: how to schedule ubuntu to start downloading at a specified time

Quote:
Originally Posted by powersum View Post
hey.. can u post the commands using cron?
Open terminal and enter crontab -e
Press i to go to insertion mode

Now to start transmission at 2 am make this entry. This will make transmission start every day of the month for whole year at 2.00AM. Remember to give a space between each star.
Quote:
DISPLAY=:0
00 02 * * *
To stop it at 8 AM make this entry in crontab
Quote:
00 08 * * * killall transmission
Now press ESC and then :wq and press ENTER

Now change to root user and open crontab for editing using crontab -e
Here enter the following to make pc shutdown at 8AM
Quote:
00 08 * * * halt
Now again press ESC and then :wq and press ENTER

But you will have to manually start the pc at 2 AM.
You can perform any task using cron at specified time. The syntax for a doing a task is
[minute] [hour] [date] [month] [weekday] Command
Minute may be between 00-59
Hour : 0-23
Date: 1-31
Month :1-12
Weekday :1-7
DISPLAY=:0 is to see the GUI for application.
ThinkFree is offline  
Old 06-12-2008, 06:32 PM   #5 (permalink)
Linux all the way
 
Join Date: Mar 2008
Location: Rasayani
Posts: 155
Default Re: how to schedule ubuntu to start downloading at a specified time

nice... thats what i wnated to know scheduling tasks...
__________________
At times life takes a U turn and you get back where you were...
Vishal Patil is offline  
Closed Thread

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring UPS for night-time downloading MenTaLLyMenTaL Internet & WWW 2 30-11-2008 11:18 PM
waiting for 2am to start downloading??? sleep cool! mario_pant Tutorials 43 19-07-2008 09:39 PM
How can I Schedule my PC to Shutdown/Hibernate at a predefined time? src2206 Software Q&A 15 14-10-2007 11:06 AM
downloading on same pc using 2 connections at a time kuldeep bhardwaj Internet & WWW 8 01-08-2006 02:49 AM


All times are GMT +5.5. The time now is 07:11 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2