#!/bin/sh


mysql -utest -ptest webzine -e "select trim(email) as email, reject_time from webzine.rejection where DATE_FORMAT(reject_time,'%Y-%m-%d') = DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -1 DAY),'%Y-%m-%d')" -t > /data/NFS/newsletter_deny/rejection.txt


폴더권한 : chmod 777

댓글을 달아 주세요