Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
What could be the best way to remove a CSV file in windows each 30 minutes?

I need to know if there is a directly way to program a Task in the Task Scheduler in windows where an XML is removed every 30minutes.

In case that no , what is the best platform to do it and to program the regular execution? C#? Power Shell ? Note: I'm not allow to execute ps1 scripts.
I searched in Google but I need advice or point of view.
Posted
Updated 23-Apr-14 4:16am
v2

Create a .BAT file to delete it, and set up a task to run that: http://windows.microsoft.com/en-gb/windows/schedule-task#1TC=windows-7[^]
Then, edit the schedule for every thirty minutes: http://support.microsoft.com/kb/226795[^]
 
Share this answer
 
At the end I create a C# console project for remove the files http://msdn.microsoft.com/en-us/library/cc148994.aspx[^] and then I schedule a windows task to be executed every 15 minutes. Thanks for your ansmwer OriginalGriff
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900