fixed #816 send daily alerts from cron