Is it definately coming in via ftp?
Andrew Cotter Manager of Information Systems Somerset Capital Group, Ltd. P: 203.336.7827 Andrew.Cotter@SomersetCapital.com www.SomersetCapital.com
-----Original Message----- From: "Frank M. Ramaekers" FRamaekers@ailife.com Date: Fri, 16 Feb 2007 09:48:45 To:"CentOS mailing list" centos@centos.org Subject: RE: [CentOS] Event scheduling
Sure I understand that, but If I wanted it to be within 15 seconds response, I'd have to check 4times x 60 seconds x 60 minutes x 24 hours per day. Kind of a waste for a file that may or may not be transmitted each day.
I was thinking that perhaps there was something that would monitor the SYSLOG and could trigger jobs (scripts) based on a syslog entry.
Frank M. Ramaekers Jr. Systems Programmer; MCP, MCP+I, MCSE & RHCE American Income Life Insurance Company Phone: (254) 761-6649 Fax: (254) 741-5777 -----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Andrew Cotter Sent: Friday, February 16, 2007 9:42 AM To: CentOS mailing list Subject: Re: [CentOS] Event scheduling
You could schedule (cron) a script that checks for abcd.efg and if it is there, do something.
Andrew Cotter Manager of Information Systems Somerset Capital Group, Ltd. P: 203.336.7827 Andrew.Cotter@SomersetCapital.com www.SomersetCapital.com
-----Original Message----- From: "Frank M. Ramaekers" FRamaekers@ailife.com Date: Fri, 16 Feb 2007 09:03:04 To:"CentOS mailing list" centos@centos.org Subject: [CentOS] Event scheduling
Okay, I know about 'cron' and 'at', but how do you schedule jobs (scripts) based on events.
For instance: Run script xyz when file abcd.efg arrives via ftp?
TIA,
Frank M. Ramaekers Jr. Systems Programmer; MCP, MCP+I, MCSE & RHCE American Income Life Insurance Company Phone: (254) 761-6649 Fax: (254) 741-5777
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos