Automate OCC Filescan

Thanks for the info! Can you please provide the path where you stored this script and how you were able to call it with cron?
Also, I noticed some features on the script are commented. Can you please share what you un-commented to automate scanning on external drives.

Thanks