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

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



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



Reply to: