On Fri, 2003-09-05 at 09:22, Richard Miller wrote:
> BTW, I learned how to use cron yesterday, but I think I would still 
> prefer that the files be uploaded whenever they are modified as opposed 
> to on a regular schedule.

I don't know of a way to trigger automatically on the modification, but
you can modify your script to check the modification times and only
upload those that have been modified. Then set a cron job to run that
script (which is less intensive) every five or ten minutes, or something
like that. It won't give you *immediate* mirroring, which may or may not
be what you're looking for, but is frequent enough to keep things very
up to date (you may even want to pull back a bit), and still infrequent
enough to keep from being a load on the system.

FWIW,

Jacob


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to