8 lines
398 B
Bash
8 lines
398 B
Bash
#!/bin/bash
|
|
rm -f /root/gpt-home/card_cache.json
|
|
sqlite3 /root/gpt-home/gptplus.db "UPDATE cards SET status='active', bind_count=0 WHERE status='exhausted';"
|
|
echo "=== Cards ==="
|
|
sqlite3 /root/gpt-home/gptplus.db "SELECT id, status, bind_count, max_binds FROM cards;"
|
|
echo "=== Card Codes ==="
|
|
sqlite3 /root/gpt-home/gptplus.db "SELECT id, substr(code,1,8)||'...' as code, status FROM card_codes;"
|