public-scripts/friendica-workerqueue.sh

2 lines
271 B
Bash
Executable file

#!/bin/bash
sudo mariadb friendica --execute="select distinct command, count(*) from workerqueue where done = 0 group by command; select count(*) from workerqueue where done = 0; select count(*) from workerqueue where command = \"ProcessQueue\" and pid = 0 and done = 0"