Automatically invocation of unix command

Dear All,

I have a directory when i received files by means of FTP, i want to invoke my shell scripts as soon as file hit the directory, if the files hit 10 times then the shell scripts should also get executed 10 times.

thanks

rajesh

you need to place a cron which executes every X min intervals that would scan FTP dir.