refine queue metrics and devices ui
This commit is contained in:
parent
1e45324460
commit
c2acd65764
11 changed files with 181 additions and 116 deletions
|
|
@ -1,14 +1,5 @@
|
|||
import { cronJobs } from "convex/server"
|
||||
import { api } from "./_generated/api"
|
||||
|
||||
const crons = cronJobs()
|
||||
|
||||
// Check hourly and the action will gate by America/Sao_Paulo hour
|
||||
crons.interval(
|
||||
"hours-usage-alerts-hourly",
|
||||
{ hours: 1 },
|
||||
api.alerts_actions.sendHoursUsageAlerts,
|
||||
{}
|
||||
)
|
||||
|
||||
export default crons
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue