praka123
left this forum longback
Re: **Post all your BSNL Dataone Related Queries Here**
Remember @gary-i use dataone in bridge mode using linux rp-pppoe dialer(pon,poff) configured using pppoeconf unlike always ON connxn or router in-built dialer.so follow this reminding that u connect manually to dataone.
man 5 crontab -explains things very well.look for that or gnome-schedule(gui)
I browse normally upto 1-1.30 Am approx.I start Azureus earlier itself.
i run cron as root in debian
so will explain for root user as some tasks i ran earlier needed root permission,
for ubuntu,
for editing
^mine for tomorrow(7/9/07)
if you use a torrent client like Azureus,u can add that too to start at 2AM as follows.first find the path of the binary.
so u can add to the crontab the torrent client too.but provided,u have already loaded the torrent to download.
so atlast mine may look like
^save and exit.now just for sure cron is up,run
now see ur cron results:
^reg the digits,i am quoting "man 5 crontab"
*www.scrounge.org/linux/cron.html
*kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/
what i do is run cron,switch off my power eating CRT monitor,sleep,sleep
Remember @gary-i use dataone in bridge mode using linux rp-pppoe dialer(pon,poff) configured using pppoeconf unlike always ON connxn or router in-built dialer.so follow this reminding that u connect manually to dataone.
man 5 crontab -explains things very well.look for that or gnome-schedule(gui)
I browse normally upto 1-1.30 Am approx.I start Azureus earlier itself.
i run cron as root in debian
so will explain for root user as some tasks i ran earlier needed root permission,
for ubuntu,
Code:
sudo su
Code:
:~#crontab -e
Code:
# m h dom mon dow command
10 2 7 9 5 pon dsl-provider
58 7 7 9 5 poff
if you use a torrent client like Azureus,u can add that too to start at 2AM as follows.first find the path of the binary.
Code:
sid:~# whereis azureus
azureus: /usr/bin/azureus /usr/share/man/man1/azureus.1.gz
so atlast mine may look like
Code:
# m h dom mon dow command
10 2 7 9 5 pon dsl-provider
12 2 7 9 5 /usr/bin/azureus
58 7 7 9 5 poff
Code:
sudo /etc/init.d/cron force-reload
Code:
~#crontab -l
# m h dom mon dow command
10 2 7 9 5 pon dsl-provider
12 2 7 9 5 /usr/bin/azureus
58 7 7 9 5 poff
Also,i used to daily edit the day field inorder to be sure.but acc to experts,u can do well without editing for a month,year(using * in tat place or @monthly etc).read more of man crontab and lookup for examples.Commands are executed by cron(8) when the minute, hour, and month of
year fields match the current time, and when at least one of the two
day fields (day of month, or day of week) match the current time (see
``Note'' below). cron(8) examines cron entries once every minute. The
time and date fields are:
field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
A field may be an asterisk (*), which always stands for ``first-last''.
Ranges of numbers are allowed. Ranges are two numbers separated with a
hyphen. The specified range is inclusive. For example, 8-11 for an
``hours'' entry specifies execution at hours 8, 9, 10 and 11
*www.scrounge.org/linux/cron.html
*kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/
what i do is run cron,switch off my power eating CRT monitor,sleep,sleep
Last edited: