Clear old renders before rendering

Hi, I was looking for a feature I’m used to from RoyalRender, and was unable to find it. Is it possible to ask Deadline to delete all the old output files before starting a new render? Or should we script this?

Afraid not, you’ll have to script something to do that.

In terms of where to start, I think you’d want to use a pre-task script. I was going to suggest an event plugin that uses OnJobStarted, but there’s no guarantee that if multiple Workers start on the job that the cleanup will be finished before they start rendering.

Thanks for the quick answer, I just wanted to make sure it wasn’t already a feature before doing a script.

1 Like