Thread: Auto-downloading when Ubuntu automatically is turned on at night?!
the service pack use offers gratis download @ night (1am 6am). sleep @ 22:30 wake soon!
need turns ubuntu @ 00:50 downloading; here method. please read , modify/promote better scheduler task!
0. (every week, each day) i've set bios turns on computer @ 00:50
1. @ 22:10 o'clock => gather straight downlkoad links in file called "dl.txt"
2. @ 22:20 o'clock => change user (which administrator) config "asking password" "auto login". need login ubuntu directly.
3. i've added simple command "crontab -e":
4. in morninig, re-cofnfig user off auto-login (this everyday task )code:00 01 * * * aria2c -c -x16 -s16 -k 1m -m10 --retry-wait=30 -i "/path/to/dl.txt" -d "/path/to/download_directory/" -l dllog --log-level=notice aria2c --on-download-complete echo "password"|sudo -s shutdown -h 59 05 * * * echo "password"|sudo -s shutdown -h now
if have idea improving instuction, please me know
does "silence" means solution best way?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Auto-downloading when Ubuntu automatically is turned on at night?!
Ubuntu
Comments
Post a Comment