diff options
| author | Pinapelz <yukais@pinapelz.com> | 2023-11-10 21:14:42 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2023-11-10 21:14:42 -0800 |
| commit | f5ca968756e8888a6e6f6520c807cab3b64306ed (patch) | |
| tree | 04abdc47b38ba0dcb5c37c4f15d9f565c19d1576 /vercel.json | |
| parent | e300f3081f1565cce8224a0c7d08ec1497049e4a (diff) | |
add cron job to clear sessions
Diffstat (limited to 'vercel.json')
| -rw-r--r-- | vercel.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vercel.json b/vercel.json index d79b7f1..67fef1e 100644 --- a/vercel.json +++ b/vercel.json @@ -10,5 +10,11 @@ "src":"/(.*)", "dest":"api/app.py" } + ], + "crons": [ + { + "path": "/api/clear_sessions", + "schedule": "0 3 * * *" + } ] }
\ No newline at end of file |
