on 03-01-2015 8:00 PM
Hello experts,
I would like to delete the reports generated by the jobs from the particular folder after certain amount of days the reports being created.
Kindly please help me on how to create a job which deletes the reports created 5 days ago from the folder.
Regards,
DP
Hi D P,
As said by Matt, you can use shell execute type of pass. You can use the command like cmd /c del and your file path or else you can opt for shell destination option.
Hope this helps you.
Regards,
Dileep Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi DP,
To delete files from your server, you should set up batch to delete the files. Contact your server management team for help.
For Linux, Delete Files Older Than x Days on Linux
For Windows, windows - Batch file to delete files older than N days - Stack Overflow
I guess this is out of IDM, I may be wrong. Lets see if any of our community members have done this thru "Shell execute" pass.
Kind regards,
Jaisuryan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jai,
I have access to delete the files/reports which were created as output by the jobs. Instead of doing it manually I would like to delete then via a job through IDM.
We usually generate reports daily for the failed assignments and it would be these files would be sent as attachments via email. So to keep the systems space clean, we would like to delete them in frequent intervals.
Regards,
DP
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.