Craig Sharp wrote...
> I need a example of scanning a directory on a scheduled basis 
> (crontab) for files.  If there are files in the directory, 
> those files need to be ftp'ed to a server and then deleted 
> from the sending server.  This is an automated incoming 
> mailbox for EDI and the data needs to be transfered when it arrives.

If this is a mailbox, you could use a mail filter to send the files directly
as they are received. This way, you don't have any cron-related delays.


-- 
Mark Thomas                    [EMAIL PROTECTED]
Internet Systems Architect     User Technology Associates, Inc.

$_=q;KvtuyboopuifeyQQfeemyibdlfee;; y.e.s. ;y+B-x+A-w+s; ;y;y; ;;print;;
 

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to