only the iSeries(as400) has an trigger based file system. Now you could
use cron to check to see if the file has changed and if it does then
upload it. This could be done with checksums or when the file size
changes.


--Travis

On Fri, 2003-09-05 at 09:22, Richard Miller wrote:
> Hi!  I am running Mac OS X and have a question about shell scripts:
> 
> Can I have a shell script run automatically whenever certain files are 
> modified?
> 
> I put together a small shell script to upload my iCalendar files to my 
> web server (I am using PHPiCalendar to view them) but I have to 
> personally run my script anytime I modify my calendars.  I would like 
> that to be done automatically.
> 
> 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.
> 
> Any help appreciated!  Thanks!
> 
> Richard Miller
> 
> 
> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
-- 
Travis W. Stevenson <[EMAIL PROTECTED]>
Maverik Country Stores, Inc.

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to