[KLUG Members] Automating a Process

Adam Tauno Williams members@kalamazoolinux.org
29 Jul 2001 17:36:54 -0400


>I am interested in automating the following process (currently typed manually):
>cd /u/retail/store1
>../bfq 6 SUPPORT PODB01 > PODB01.DAT
>../bfq 6 SUPPORT PODB01 > PODB02.DAT
>Wondering if you have any ideas ...TIA.

Turn the above into a shell script and schedule with "at" or "cron".  I
recommend "at",  unless your certain you will ALWAYS want it to happen.
If you use cron it is very easy to forget about the automated processes.
I've nailed my self several times by doing something that trips over a
process that has been running at 4:00am every Monday morning (for
example) for the past three years,  then all of a sudden "Oh crap!
Thats right!  There is another process in that file about now.".