basic invites manager chronjob thing

This commit is contained in:
shockrah
2020-07-21 18:13:33 -07:00
parent 6a9f91429e
commit 1eed2f4027
3 changed files with 62 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/sh
# Simple test to make sure we can actually remove stuff from mysql
# without the whole thing complaining about everything
. ./bin/activate
export DATABASE_URL=mysql://freechat_dev:password@localhost:3306/freechat
export DATABASE_NAME=freechat
export DATABASE_PASS=password
export DATABASE_USER=freechat_dev
export DATABASE_HOST=localhost
export DATABASE_PORT=3306
python invites-routine.py