Files
gpt-plus-gpt/query_task.sh
2026-03-15 20:48:19 +08:00

5 lines
358 B
Bash

#!/bin/bash
sqlite3 -header -column /root/gpt-home/gptplus.db "SELECT id, \"index\", email, status, plan, message, error, duration FROM task_logs WHERE task_id LIKE '1cd9fa9c%' ORDER BY id;"
echo "---"
sqlite3 -line /root/gpt-home/gptplus.db "SELECT id, type, total_count, done_count, success_count, fail_count, status FROM tasks WHERE id LIKE '1cd9fa9c%';"