# crontab -e 当中
0 */12 * * * kill -9 $(ps -A -ostat,ppid | grep -e '[zZ]'| awk '{ print $2 }')
# 或者在~/.zshrc中加入一条
alias clean_zoombie_process='kill -9 $(ps -A -ostat,ppid | grep -e "[zZ]"| awk "{ print $2 }")'
# crontab -e 当中
source ~/.zshrc && clean_zoombie_process