UserParameter=zjzc.login,/bin/sh /usr/sbin/get_login.sh
You have mail in /var/spool/mail/root
slave:/root/sbin# cat /usr/sbin/get_login.sh 
. ~/.bash_profile
vdate=`date +%Y-%m-%d`
/usr/local/mysql/bin/mysql -N -uroot -p1234567 -h127.0.0.1 --socket=/data01/mysql/mysql.sock -e "select count(*) from zjzc.Client where lastLoginTime>='$vdate 00:00:00'"