Hey there,
There's a trick to schedule your downloads using DownThemAll!, if you ask me, DTA is the fastest download manager available for Ubuntu users, flareGet is great, but it doesn't integrate with Firefox unless you pay for it. ( Edit: It does, I was wrong, thanks to adnan-kamili we know that, we can integrate flareGet with Firefox by FlashGot, but we have to download flareGet from it's site, not from Ubuntu Software Centre. You'd better use flareGet or Internet Download Manager 5.05 under wine, they work fine, this trick has some problems. )
We know that, if we close DownThemAll without pausing downloads, the downloads will resume upon starting DownThemAll again, so, what happens if we make DownThemAll our homepage, and schedule Firefox to open on the right time? that's it! ( Thanks to lovinglinux, we know how to make DownThemAll our homepage )
So that's it, we make
Code:
chrome://dta/content/dta/manager.xul
our homepage, then, we need a script to start Firefox at the time we want it to, then, shut the system down at the specified time.
open gedit or any other text editor and write these :
Code:
#!/bin/bash
sleep [Time you want this script to wait]
sudo shutdown -h [Shutdown's time]
firefox
As an example, imagine it is 5:00 PM now, and we want our downloads to be started at 1:00 AM and we want our system to shutdown at 7:45 AM, we'll write our script like this:
Code:
#!/bin/bash
#sleep time equals to time between 5 PM and 1 AM, so 8. for more options of sleep command, see sleep --help
sleep 8h
#24 hours clock
sudo shutdown -h 7:45
firefox
You're done with writing, save it as a .sh file, then, you can run it via Terminal like this:
Code:
sudo sh /path/to/file/scheduler.sh
NOTE: YOU MUST RUN IT AS ROOT, ELSE, IT WILL ASK FOR PASSWORD WHEN IT COMES TO RUN SHUTDOWN COMMAND, SO THAT WON'T WORK.
KNOWN ISSUE:
Resets Firefox Add-Ons.
Enjoy!
(For Persian / Farsi users:
دوستان فارسی زبان هم میتونند از این لینک استفاده کنند)
Bookmarks