Hi,

In Linux we have built-in scheduler called cron which wakes up and runs a
program at a specified time.

I've worked in other environments (like mainframe) where the schedulers have
lots of features.
One of the features which I'm currently looking for is, after a file has
been completely copied (or created) a process should start.
The emphasis is on the word completely. For eg: If I have a file which is
100 MB, only after all 100 MB has been copied should a process be kicked
off.
Similarly next time the file is deleted and recreated this process will be
kicked off.

One way of doing this is to write a shell script which is executed in the
minimum time interval allowed by cron, keep check for the files status.
Compare it with the status in the last time-period and decide to kick of the
process.
Is there any other more ready made and elegant method like we have CA7 in
mainframes.

Thanks,

Murali

Differentiated Software Solutions Pvt. Ltd.,
176, Gr. Floor, 6th Main
2nd Block RT Nagar
Bangalore - 560 032
India
Ph: 91 80 3431470
email : diffs+AEA-vsnl.com
http://www.diffs-india.com


-----------------------------------------------------------------------
LIH is all for free speech.  But it was created for a purpose - to help
people discuss issues about installing and running Linux.  If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.

Reply via email to