Re: cron/at question.

2000-12-13 Thread Hans
At 11:48 PM 12/13/00 +0100, Leen Besselink wrote: >> Should have given you an example of what I am doing. Here it is >> >> # at 23:17 >> warning: commands will be executed using /bin/sh >> >/usr/local/bin/radio 104 > >Maybe this command runs sub commands and that's why radio doesn't show up >?

Re: cron/at question.

2000-12-13 Thread Leen Besselink
> Should have given you an example of what I am doing. Here it is > > # at 23:17 > warning: commands will be executed using /bin/sh > >/usr/local/bin/radio 104 Maybe this command runs sub commands and that's why radio doesn't show up ? Looks like it's something you made, so probably a shell s

Re: cron/at question.

2000-12-13 Thread Hans
Should have given you an example of what I am doing. Here it is # at 23:17 warning: commands will be executed using /bin/sh >/usr/local/bin/radio 104 > job 18 at 2000-12-14 23:17 # When the clock turns 23:17 #ps aux root 885 0.0 1.3 1576 824 tty1 T 22:53 0:00 aumix root 890 0.

RE: cron/at question.

2000-12-13 Thread Leen Besselink
> Fine, so where can I find it? If I run radio straight from the command > prompt ps and ps aux will list a pid for radio. If I run radio via cron/at > there is no pid when I do ps or ps aux. In fact, there is no pid for > anything at the time cron/at executes radio. You'd expect at least > somethi

Re: cron/at question.

2000-12-13 Thread Erik Steffl
Hans wrote: > > At 12:48 PM 12/13/00 -0800, Sean 'Shaleh' Perry wrote: > >> Three questions: > >> > >> 1) both cron and at seem to run programs in the background. However there > >> is no pid when I do a ps aux, so how do I stop a job from running? > > > >if a program is running, it will have a pi

Re: cron/at question.

2000-12-13 Thread Leen Besselink
> Three questions: > > 1) both cron and at seem to run programs in the background. However there > is no pid when I do a ps aux, so how do I stop a job from running? Well, they don't get run immediatly ofcourse, only when it's time, you can try to kill them then, but best is to make changed to yo

RE: cron/at question.

2000-12-13 Thread Hans
At 12:48 PM 12/13/00 -0800, Sean 'Shaleh' Perry wrote: >> Three questions: >> >> 1) both cron and at seem to run programs in the background. However there >> is no pid when I do a ps aux, so how do I stop a job from running? > >if a program is running, it will have a pid Fine, so where can I find

RE: cron/at question.

2000-12-13 Thread Sean 'Shaleh' Perry
> Three questions: > > 1) both cron and at seem to run programs in the background. However there > is no pid when I do a ps aux, so how do I stop a job from running? if a program is running, it will have a pid > 2) can cron or at jobs be run as one-liners? Eventually I want to write a > perl of

cron/at question.

2000-12-13 Thread Hans
I played around with cron and at last night and successfully started radio with it (yeah, right, a US$1000 clock radio :-) Three questions: 1) both cron and at seem to run programs in the background. However there is no pid when I do a ps aux, so how do I stop a job from running? 2) can cron or a