guardian / machine-images

DEPRECATED: Scripts for building machine images (principally AMIs)
34 stars 7 forks source link

Assert that we are no already running to avoid multiple instances #108

Closed sihil closed 8 years ago

sihil commented 8 years ago

Downloading our snapshot takes about 45 minutes, so we get multiple instances running when running under cron every 30 minutes. This uses file locking on the script to ensure we only ever run once.

We should be able to cron this more frequently as a result.

niklasvincent commented 8 years ago

👍