Skip to content

Instantly share code, notes, and snippets.

@Voronenko
Created November 3, 2016 10:59
Show Gist options
  • Save Voronenko/311e55dd9851153d86b4f6c67dafcb8c to your computer and use it in GitHub Desktop.
Save Voronenko/311e55dd9851153d86b4f6c67dafcb8c to your computer and use it in GitHub Desktop.
Idempotent random cron expression for ansible
expr $((16#`echo "user_command" | md5sum | cut -c 1-4`)) % 59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment