Skip to content

Instantly share code, notes, and snippets.

@imrehg
Created August 7, 2019 14:52
Show Gist options
  • Save imrehg/82e90093c562b00960c83585fde9c3fe to your computer and use it in GitHub Desktop.
Save imrehg/82e90093c562b00960c83585fde9c3fe to your computer and use it in GitHub Desktop.
#!/bin/bash
# Check succeeds if file found to be modified in shorter time than threshold
[[ -n "$(find /data/container_healthchecks/balena_tags -mmin -21)" ]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment