Is there a way to automatically delete inactive suspended jobs, say, after 30 days of inactivity? I simply want the same functionality as with completed jobs.
Afraid not, there isn’t anything built-into Deadline to do that.
You could build your own Event Plugin that hooks into the OnHouseCleaningCallback to check all suspended jobs that are older than 30 days and delete them.
Attaching our cleanup plugin here for reference. It deletes the output files of all jobs in a set of states, and older than X days. Some of the settings are configurable through Deadline Monitor.
IntermediateFilesCleanup.py (3.0 KB)
1 Like