Can you explain how this can be setup on a server to run a script that will continually update CloudKit from a third-party API? This code looks awesome, I am just a bit confused of how to set it up.
You could use a cron job to run the script periodically. Just make sure you do the full path to your php executable and the script which you can find out from 'which php'. Cron runs as a different user and doesn't always know where to find things so best use full paths.
Can you explain how this can be setup on a server to run a script that will continually update CloudKit from a third-party API? This code looks awesome, I am just a bit confused of how to set it up.