old tony is full of bs ==>> that is -bs & -bg

Fairlight fairlite at fairlite.com
Tue Jul 18 09:05:03 PDT 2006


With neither thought nor caution, Tony Freehauf blurted:
> hi experts
> i want to perform some tasks from cron
>  and i think it would be a good idea to add -bs & -bg at the end of the 
> filepro lines
>   should the same line also have term defined as in something like 
>                 TERM=whatever; export TERM; /appl/whatever -bs -bg
>                  wait
>                 do next filepro thing ...
> when i do that should a unix   wait   following each line?
> thanks for your help

That should work based on the two tests I just did with backgrounded
processes.  Tested on SCO OSR 5.6 and SuSE Linux 9.

However, I fail to see your rationale.  If you're waiting, why throw it
into the background in the first place; let it run without doing so and it
automatically does them in sequence.  If it's just to get silent with -bs,
then instead use " >/dev/null 2>&1" at the end of your fP commands and you
get the same end result.

mark->


More information about the Filepro-list mailing list