Subject: Re: Grep from PC to Mac via LINUX
From: andrew morgan (morgan@orst.edu)
Date: Fri Jun 16 2000 - 10:41:46 EDT
On Fri, 16 Jun 2000, John Grieg wrote:
> I have a (Harlequin) RIP running on NT which generates a log file.
> This logfile logs "everything" including missing fonts, postscript errors.
>
> I use smbmount to mount the share with the RIP, and I grep for errors
> ( grep LOGFILE error & grep LOGFILE Courier)
> Theseerrors I pipe to mail (and mail them to me).
>
> 1) Is there a way I can get dialog box when there is an error (Like you
> get from a printer running out of paper?
Sure. If you're already piping the errors to mail, then you should be
able to add some more lines to the script you're running. To send the
error to your favorite windows machine, just pipe it to "smbclient -M
win_machine".
> 2) Now and then the LINUX box loses the connection with the NT machine
> (WHY) , and I have to remount it
> manually. (The LOGFILE is in use all the time). Is there an easier
> way to do this?
I'm not sure on this. I've had an smbmount lose its connection as well,
but I don't know why this happens. Do you have the latest version of
samba installed?
Andy
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:31:04 EST