Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Celejar <celejar(at)gmail.com>
Date: Sun Sep 30 2007 - 17:07:31 EDT


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


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sun Sep 30 17:08:02 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:01:33 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library