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

7 lines
463 B
Bash

#!/bin/bash
echo "=== Task Info ==="
sqlite3 -line /root/gpt-home/gptplus.db "SELECT id, type, total_count, done_count, success_count, fail_count, status FROM tasks WHERE id LIKE '08ba9fea%';"
echo ""
echo "=== Task Logs ==="
sqlite3 -header -column /root/gpt-home/gptplus.db "SELECT id, \"index\", substr(email,1,25) as email, status, plan, substr(message,1,80) as message, substr(error,1,80) as error FROM task_logs WHERE task_id LIKE '08ba9fea%' ORDER BY id;"