Automation Script for uncheck box in specific time using At scheduled time

let table = base.getTable(“Cuentas Ads”);

let view = table.getView(“check grupal”);

let query = await view.selectRecordsAsync({fields: })

let updates = query.records.map(r => {

return {id: r.id, fields: {“Check Grupal”: false}}

})

while (updates.length > 0) {

await table.updateRecordsAsync(updates.slice(0, 50))

updates = updates.slice(50)

}