Hi Shypike,
I was wondering if you could implement an option to clear completed jobs from the history as soon as they complete, so that the history only keeps failed jobs.
I've tried adding curl "http://localhost:8080/sabnzbd/api?mode= ... =completed" as a post-processing action, this works in part, but since it cannot remove the job the post-processing action is running on, it will always leave 1 completed job in the history.
Thanks!
Automatically clear completed jobs from history
Re: Automatically clear completed jobs from history
Set that same thing as an end-of-queue action.
Re: Automatically clear completed jobs from history
That works except when I want to use the "standby PC" end of queue option, then it wouldn't trigger the history grooming script.
Which is why I feel it should be outside of post-processing or end-of-queue options.
And also, queue_complete_pers ( off ) defaults to off, which suits me fine when I forget to remove the standby pc option when not needed.
But it also means I'd have to set the grooming script often or enable persistence which would be slightly bothersome when using the "standby pc" option.
Which is why I feel it should be outside of post-processing or end-of-queue options.
And also, queue_complete_pers ( off ) defaults to off, which suits me fine when I forget to remove the standby pc option when not needed.
But it also means I'd have to set the grooming script often or enable persistence which would be slightly bothersome when using the "standby pc" option.

