crontab del and gzip
#gzip 30 day
00 20 * * * /home/opcenterap/bin/gzfile.sh
00 21 * * * find /ftpdata/opDM/ddim/ddim_ds/ -type f -mtime +30 -exec gzip {} \; > /dev/null 2>&1
#rm 40 day
00 21 * * * /home/opcenterap/bin/rmfile40.sh
###DEL /ftpdata/opcenterap/memberremark OVER 90 DAY DATA###
20 1 * * * find /ftpdata/opcenterap/memberremark -type f -mtime +90 -exec rm {} \; > /dev/null 2>&1
20 3 * * * find /ftpdata/opDM/ddim/ddim_ds/*.gz -type f -mtime +90 -exec rm -f {} \;> /dev/null 2>&1
# add by Aery in 20160218 #
### Backup /ftpdata/op特店代號/upload/*[0-9].txt (Requirement) , for logServer to download
0 2 * * * /home/opcenterap/opRequirementBackup.sh
#gzip 30 day
00 20 * * * /home/opcenterap/bin/gzfile.sh
00 21 * * * find /ftpdata/opDM/ddim/ddim_ds/ -type f -mtime +30 -exec gzip {} \; > /dev/null 2>&1
#rm 40 day
00 21 * * * /home/opcenterap/bin/rmfile40.sh
###DEL /ftpdata/opcenterap/memberremark OVER 90 DAY DATA###
20 1 * * * find /ftpdata/opcenterap/memberremark -type f -mtime +90 -exec rm {} \; > /dev/null 2>&1
20 3 * * * find /ftpdata/opDM/ddim/ddim_ds/*.gz -type f -mtime +90 -exec rm -f {} \;> /dev/null 2>&1
0 2 * * * /home/opcenterap/opRequirementBackup.sh