Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
General Discussion
 RoboTask Forum : General Discussion
Subject Topic: Find files in directory older 45 minutes Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Hotimsk
Newbie
Newbie


Joined: 25 June 2010
Location: Belarus
Online Status: Offline
Posts: 2
Posted: 25 June 2010 at 2:33pm | IP Logged Quote Hotimsk

I need to create a task that find files in directory older 45 minutes and delete them.
How i can do this?
Back to Top View Hotimsk's Profile Search for other posts by Hotimsk
 
Oleg
Admin Group
Admin Group
Avatar

Joined: 16 April 2004
Online Status: Offline
Posts: 1133
Posted: 26 June 2010 at 11:04am | IP Logged Quote 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.

__________________
Oleg Yershov
Back to Top View Oleg's Profile Search for other posts by Oleg Visit Oleg's Homepage
 
Hotimsk
Newbie
Newbie


Joined: 25 June 2010
Location: Belarus
Online Status: Offline
Posts: 2
Posted: 27 June 2010 at 2:15pm | IP Logged Quote Hotimsk

Thank you! This exactly that was needed.
Back to Top View Hotimsk's Profile Search for other posts by Hotimsk
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.0474 seconds.