[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do you turn on and off a program automatcially



On Sun, 30 Sep 2007 21:17:57 +0300
ndemou@gmail.com wrote:

> On 9/30/07, Celejar <celejar@gmail.com> wrote:
> > On Fri, 28 Sep 2007 17:21:16 -0400
> > Peter Smerdon <psmerdon@magma.ca> wrote:
> >
> > > Sid Arth <sidster802@gmail.com> writes:
> > >
> > > > Hi, I am running rtorrent and I was wondering if it is possible for the
> > > > system to turn the program off at certain times, and turn it back on at
> > > > other times.
> > >
> > > You can probably use use `cron' to achieve this.
> >
> > I struggled for a while to figure out how to do exactly this, without
> > success.  I believe that cron does not work, since (at least some)
> > ncurses apps insist on being run from a terminal.
> 
> 
> usually such problems have to do with the differences of the
> environment (bash variables) - you can customize the env. of cron to
> overcome this problem

I don't currently have rtorrent installed, but can you give a bit more
explanation or a pointer for future reference?  What differences in the
environment do you mean?  Which variables have to be modified, and to
what values?

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator



Reply to: