automate twitch credential refresh

This commit is contained in:
Huskydog9988
2025-03-12 18:34:36 -04:00
parent 7a3b30b012
commit f8ae5b70c0
4 changed files with 40 additions and 3 deletions

View File

@ -29,6 +29,8 @@ export default defineNuxtConfig({
scheduledTasks: {
"0 * * * *": ["cleanup:invitations"],
// every two hours, check if creds need updating
"0 */2 * * *": ["metadata:refreshCredentials"],
},
},