[ale] file system trigger

Jerry Z. Yu z.yu at ptek.com
Fri Feb 22 12:45:10 EST 2002


The reason they don't want cron is probably they want instaneous access to
the uploaded files. Then again, on a powerful box, you can run your batch
really  frequently.

I guess you can tailing the xferlog or ftp.log. when you seem something
gets uploaded ('STOR blah' has 226 status and some size), then send some
predefined SIG to that sleeper apps. or just call that post-upload app
directly.

Or, hack the ftpd source, to set up a post-upload/download
directive|feature.

On Fri, 22 Feb 2002, James P. Kinney III wrote:

#It's called CRON!!!
#
#Seriously, at can do it. You can also add a sleep command in a shell
#script that does the deed every so often. Run a cron to make sure the
#sleeper shell script is still up.
#
#Dig through the xinetd docs and the docs for the ftpd and see if there
#is a post-script that can be called. This way it automatically gets
#moved as soon as it is written.
#
#On Fri, 2002-02-22 at 11:56, Tommie M. Jones wrote:
#>
#> I was wondering if anyone has a good solution to the following problem.
#>
#> I have files being ftped into a directory.  For some reason they do not
#> want to use a cron job to watch and wait for files.
#>
#> What they want is for a job to sleep and then wakeup every so often.
#>
#> Is there to signal a job to run whenever a file appears in a directory.
#>
#>
#> ---------------------------
#> 'Business Intelligence' is not an Oxymoron - http://www.intelliforge.com
#>
#>
#>
#> ---
#> This message has been sent through the ALE general discussion list.
#> See http://www.ale.org/mailing-lists.shtml for more info. Problems should
#be
#> sent to listmaster at ale dot org.
#>
#--
#James P. Kinney III   \Changing the mobile computing world/
#President and COO      \          one Linux user         /
#Local Net Solutions,LLC \           at a time.          /
#770-493-8244             \.___________________________./
#
#GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
#<jkinney at localnetsolutions.com>
#Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
#
#

Jerry Z. Yu					+1-404-262-8544 (O)
Systems Engineer				z.yu at ptek.com
IS Support, Voicecom,				www.voicecom.com
A business unit of PTEK Holdings, Inc.		www.ptek.com


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list