Update trainspam.sh

Need to add:
- get OS version
- switch training to use find -ctime -1d | while read  (so we only process last 1 day to sa-learn)
- set the db depending on OS
- need to use full paths to binaries (on Miller, there was no PATH to chown when run from crontab)