Reputation: 2175
i wanna to create a cron job on windows that daily delete files from a specific folder.
how can i do this??
Thanks in advance
Upvotes: 0
Views: 868
Reputation: 11933
I use Cron for Windows,
it's very easy to use if you are familiar with cron from *nix
Upvotes: 0
Reputation: 6000
Use Schedule tasks in windows. Check here. You can use del command to remove one or more files. Put it inside a batch script and schedule it as a task.
Upvotes: 5
Reputation: 99771
You want Scheduled Tasks.
With Scheduled Tasks, you can schedule any script, program, or document to run at a time that is most convenient for you. Scheduled Tasks starts every time that you start Windows XP and runs in the background, and it starts each task that you schedule at the time that you specify when you create the task.
Edit your question if you specifically need help with the deleting files bit, but typing in help del
at a command prompt should tell you everything you need to know.
Upvotes: 3