RE: checking file date/time

2001-08-31 Thread Ron Rohrssen
Try looking at File::stat This can be used to return information on the file creation, last modified date/time, etc. Ron -Original Message- From: Rory O'Connor [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 7:17 PM To: [EMAIL PROTECTED] Subject: checking file date

RE: checking file date/time

2001-08-30 Thread Gibbs Tanton - tgibbs
perldoc -f -M -M $filename will tell you the age of the file in days. -Original Message- From: Rory O'Connor To: [EMAIL PROTECTED] Sent: 8/30/2001 7:17 PM Subject: checking file date/time Can anyone help me with - or point me to a resource - about checking file date/time with per

checking file date/time

2001-08-30 Thread Rory O'Connor
Can anyone help me with - or point me to a resource - about checking file date/time with perl? I need to write a small script that i can run with cron and will e-mail me if a particular file is older than 2 days. The file in question is supposed to be refreshed daily but sometimes our linkage