IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Detect files older than 10 minutes
John T.
post Mar 9 2006, 06:28 PM
Post #1


Rookie
*

Group: Members
Posts: 27
Joined: 9-March 06
Member No.: 220



Hey all,

I was wondering if anyone has created a lua script to look for files older than x minutes in a directory. We have an EDI application that has several In/Out queues that need to be monitored.

Thanks,

-John T.
Go to the top of the page
 
+Quote Post
RA
post Mar 9 2006, 06:32 PM
Post #2


INM wizard
**********

Group: Root Admin
Posts: 2,328
Joined: 24-August 04
From: Intellipool AB, Härnösand, Sweden
Member No.: 3



If I get some time free this week I will write you one, should not be thtat complicated.

The time I can check is "modified time" is that enough ?


--------------------
Go to the top of the page
 
+Quote Post
John T.
post Mar 9 2006, 06:47 PM
Post #3


Rookie
*

Group: Members
Posts: 27
Joined: 9-March 06
Member No.: 220



QUOTE(RA @ Mar 9 2006, 09:32 AM) *
If I get some time free this week I will write you one, should not be thtat complicated.

The time I can check is "modified time" is that enough ?


Yes, modifed time should be good. It might also be nice to be able to specify a file extension as an argument if possible. For instance, the ability to only look at files with a ".edi" extension.

Thanks,
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 10th September 2010 - 09:42 PM