Re: [Bacula-users] (My) Job pruning seems not to work as intended

2024-10-23 Thread Bill Arlofski via Bacula-users
On 10/23/24 11:51 AM, Justin Case wrote: > Thanks Bill, I got it working with your help. Excellent! That was quick too! :) Glad I could help! Best regards, Bill -- Bill Arlofski w...@protonmail.com signature.asc Description: OpenPGP digital signature

Re: [Bacula-users] (My) Job pruning seems not to work as intended

2024-10-23 Thread Justin Case
Thanks Bill, I got it working with your help. > On 23. Oct 2024, at 19:19, Bill Arlofski wrote: > > On 10/23/24 10:59 AM, Justin Case wrote: >> I used this in an admin job, but no verify/admin jobs older than 6mo got >> deleted: >> Runscript { >> RunsWhen = "Before" >> RunsOnClient =

Re: [Bacula-users] (My) Job pruning seems not to work as intended

2024-10-23 Thread Bill Arlofski via Bacula-users
On 10/23/24 10:59 AM, Justin Case wrote: I used this in an admin job, but no verify/admin jobs older than 6mo got deleted: Runscript { RunsWhen = "Before" RunsOnClient = no Console = "delete from job where (type in ('V', 'D') or (type = 'B' and jobbytes = 0 and jobfiles = 0))

Re: [Bacula-users] (My) Job pruning seems not to work as intended

2024-10-23 Thread Justin Case
I used this in an admin job, but no verify/admin jobs older than 6mo got deleted: Runscript { RunsWhen = "Before" RunsOnClient = no Console = "delete from job where (type in ('V', 'D') or (type = 'B' and jobbytes = 0 and jobfiles = 0)) and starttime < now()-interval '6 months';"