Monitor file change

From: Reuben D. Budiardja (techlist_at_voyager.phys.utk.edu)
Date: 08/29/03

  • Next message: Parker Morse: "Re: how to unsubscribe"
    To: redhat-list@redhat.com
    Date: Fri, 29 Aug 2003 13:27:16 -0400
    
    

    Hello
    Is there a way I can monitor a file, and if it's changed/updated by other
    program, I can invoke a script ?

    I know I can set up cron job, but I need it to be dynamic --> when the file
    change, invoke a certain script immediately.

    Something similar to xbiff for mail, but this is for a general file.

    Thanks for any help.
    RDB

    -- 
    Reuben D. Budiardja
    Department of Physics and Astronomy
    The University of Tennessee, Knoxville, TN
    -------------------------------------------------
    /"\  ASCII Ribbon Campaign against HTML    
    \ /  email and proprietary format      
     X   attachments.
    / \
    -------------------------------------------------
    Have you been used by Microsoft today? 
    Choose your life. Choose freedom. 
    Choose LINUX.
    -------------------------------------------------
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Parker Morse: "Re: how to unsubscribe"

    Relevant Pages

    • Are sysctl(8) values useful for measuring system resource consumption?
      ... the "developer experience," what resources are thus consumed, and figure ... script that essentailly acts as a bit of "scaffolding" around time; ... the script sets things up to invoke timewith the "-l" flag (so we ...
      (freebsd-performance)
    • Re: problem in invoking shell script through a C++ thread
      ... I am using Pthreads to invoke shell scripts. ... How do you know that the script didn't get invoked? ... getId.getString<< endl; ...
      (comp.sys.hp.hpux)
    • Re: Inline::C and multiple platforms
      ... Users might invoke the script from Linux or Solaris systems. ...
      (comp.lang.perl.misc)
    • Re: back to html page from php
      ... Jerry Stuckle wrote: ... myCart.php script to get back. ... You mean automatically invoke the shopping cart when you load an html ... I just wanted to know if using the tag is the only way to ...
      (comp.lang.php)
    • Re: Trepanning and Parting Off / Handling URLs
      ... into the command line -- and the command line sees the newlines as end ... Add the following near the beginning of the script: ... I meant that you'd change the script to invoke without command line ... Get URL from current selection. ...
      (rec.crafts.metalworking)