Find files in directory older 45 minutes

Discuss RoboTask here
Post Reply
Hotimsk
Posts: 2
Joined: Fri Jun 25, 2010 11:27 am
Location: Belarus

Find files in directory older 45 minutes

Post by Hotimsk »

I need to create a task that find files in directory older 45 minutes and delete them.
How i can do this?
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Find files in directory older 45 minutes

Post by Oleg »

See two examples:
Age of file in hours
Age of file in minutes.tsk
These tasks do the loop on files in "c:\incoming" folder and calculate the age of file in hours and minutes.

You can delete files (or do something else) by using "If..Then" action.
Hotimsk
Posts: 2
Joined: Fri Jun 25, 2010 11:27 am
Location: Belarus

Find files in directory older 45 minutes

Post by Hotimsk »

Thank you! This exactly that was needed.
Post Reply