We were having a bit of trouble with a MLSli API sync timing out on Pantheon.io, so we:
– created a basic shell script with the drush commands
– configured a Raspberry Pi with Terminus, to be able to run the “drush” commands and use it as the “launcher”
And now we are successfully performing the MLSli sync.
— reconciling listings (to remove the unpublished ones),
— sync listings metadata (to get the new updates),
— import the new images (this is the process that lasted too long as there are thousands of images)
Next steps:
— improve script so it can be automatically scheduled and also used to log the data and report a summary status