Afficher un message
Vieux 19/03/2008, 02h25   #5
mop2
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Automated Scheduling of tasks

In you script, start a subshell to kill it.
Example:
(read -t $delta </dev/tty59;kill SIG $$)&

At your choice, read or sleep...



R C V wrote:
> On Mar 18, 1:58 pm, R C V <rss...@gmail.com> wrote:
> > Hi,
> > My requirement is to start a program at a future time x and stop
> > it at time x+delta. Can someone tell me how I can do it
> > using shell scripts.
> >
> > TIA,
> > R C

>
>
> Cron s me schedule it at a future time , but does not let me kill
> it after
> a specified "duration".. Can someone throw some more light ?

  Réponse avec citation
 
Page generated in 0,05278 seconds with 9 queries