Automatic deletion of recordings via Greenlight internal API

34 views
Skip to first unread message

Florian Seifer

unread,
Jul 3, 2024, 6:27:13 AM7/3/24
to bigbluebutton-greenlight
Hello!

We would like to implement a mechanism that automatically deletes BBB recordings older than 24 hours.

There is a script to do that for BBB itself. Unfortunatly this leads to problems because the recordings are not deleted in the greenlight DB.

When you click on a "delete recording" button in greenlight it starts a Rails task
"DestroyBy(RecordingID)"  and afterwards triggers a deletion of the actual files via the BBB-API

Is there a way to trigger this greenlight API-Call from a Curl-Prompt.
We would like to loop through all recordings older than 24h and delete them via greenlight.
Preferrably in a script that can be crond.

Thank you for any advice on the subject

Regards
F. Seifer
Reply all
Reply to author
Forward
0 new messages