Best way to trigger files rescan when new files added to the nextcloud data folder

Thanks! At the bottom of that page it is recommended to use cron with External Storage too:
https://docs.nextcloud.com/server/12/admin_manual/configuration_files/external_storage_configuration_gui.html#adding-files-to-external-storages
so I’ll probably setup both external storage and scheduled scans just in case.