Clarity on Cron settings with external storage

Hello, I’m just looking for clarification on which background jobs method to use when using external storages (SMB) with the ‘Use session credentials’ option.

I think the system cron is the prefered method, but am I correct in thinking that AJAX is the only way to update the filecache with external storage and ‘Use session credentials’.

Is it possible to use both system cron and AJAX?

I’m not sure, if the cronjob runs during you are logged in, it could work perhaps?? There you need someone with better knowledge of code. Perhaps you can try to ask someone over https://webchat.freenode.net/?channels=nextcloud

No, I didn’t try it but I think once you are using cron it automatically disables ajax. There must be a better solution for external storage.