Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Danny van Oijen
2017-11-02T12:55:46Z
Hi all,

I created a job that deleted log files if they are older than 3 days.
However it gets stuck when files are in use:

Exception in Task: Error 32 deleting file '<PATH TO FILE>': The process cannot access the file because it is being used by another process.

Is there a way to just let visualcron ignore this and go on with the next file?
Sponsor
Forum information
thomas
2017-11-02T14:13:34Z
I guess you could try to solve it with a loop. List files older than 3 days. Loop over each file, if error = 32 then continue to next task (assuming Next task' means a new iteration in the loop). I haven't tested it so i'm not sure though.
Scroll to Top