Nancy.
We cycle SMAT files every day and rename the ‘.old’ to a date stamped file
eg
200608010000_top_test_rp_adt_rcv.msg.gz
The prod files are immediately FTP’d to a repository and are deleted from the Cloverleaf sites after 80 days.
This is an example of our ‘cron’
0 0 * * * DEBUG=NO; IAMCRON=YES; export DEBUG IAMCRON; /hci/InfoHEALTH/bin/cycleAllSmat.sh # Midnight
0 1 * * * DEBUG=NO; IAMCRON=YES; CULLFTPOK=YES; LOGRM=30; SMATRM=80 export DEBUG IAMCRON LOGRM SMATRM CULLFTPOK; /hci/InfoHEALTH/bin/cullAllLog.sh
I have attached a copy of the script that actually cycles the SMAT files.