JT Kirkpatrick wrote:
> 
> i'm trying to run a query at night, and output the results to a file.  i
> think i have the syntax right for the proper output, but it now appears
> that my little automatic (cron) query ran IMMEDIATELY after the first
> command in the same cron file (a VACUUM of the same database) executed.  it
> didn't wait until it was finished.  besides guessing what time the vacuum
> will be complete, and scheduling the second command in a separate cron
> appropriately timed to run afterwards, is there a way to "stream" the two
> commands such that the second does NOT execute until the first one is
> complete??
> 
> thanks!  jt
> 
> ************

Put your commands in a shell script somewhere in the order you want them
to execute and then tell cron to run that shell script.  

-- 
|---------------------------------|----------------------------|
| Hitesh Patel                    |  Voice: (541) 759-3126     |
| Facilities Development Manager  |  Fax:   (541) 759-3214     |
| Preferred Systems               |  Email: [EMAIL PROTECTED]  |
|---------------------------------|----------------------------|

************

Reply via email to