5 0 * * * twidge dmsend paulkoan "$(cat /path/to/p2pool/log | grep $(date -d '1 day ago' +%Y-%m-%d) | grep -c SHARE) Shares, $(cat /path/to/p2pool/log | grep $(date -d '1 day ago' +%Y-%m-%d) | grep -c BLOCK) Blocks"
Hmm, seems this doesn't work because p2pool cycles the log at a frequency greater than once a day. Does anyone know how to lengthen the time p2pool keeps logs?