I need to run
bittorrent-curses and
giFTcurs between
2am - 8am only for free unlimited download, except 2-8am bandwidth is too costly.
So, could you please advise me on
how to run Interative programs like "
bittorrent-curses" or "
vi" or "
pico", "
emacs" etc.,
which requires user interaction like typing etc.,
The problem with
at and
cron (what I found upto now with googling) is that it won't run jobs interactively (really?) and only run task in backgound.
I need to run the task interactively.
I use
adsl-start and
adsl-stop to start and stop internet connection.
To run vi
Code:
echo vi | at now + 1 min
After 1 minute Nothing shows up .
I want to run these commands adsl-start runs fine but bittorrent-curses won't run
Code:
echo /usr/sbin/adsl-start| at 0200
echo /usr/bin/bittorrent-curses ~/mytorrent.torrent| at 0201
same with crontab -e
Code:
#Run daily -> Start Internet connection at 2:00 AM
0 2 * * * /usr/sbin/adsl-start
#Run daily -> start bittorrent curses interface to download mytorrent.torrent file
1 2 * * * /usr/bin/bittorrent-curses ~/mytorrent.torrent
#Run daily -> Stop Internet connection at 8:00 AM
0 8 * * * /usr/sbin/adsl-stop
The
adsl-start & adsl-stop works fine at 2:00am and 8:00am, but bittorrent-curses won't show up not even in
ps -aux | grep bittorrent-curses .
I need to run interactive programs at a specific time, how could I do that? is there any way?