#!/bin/sh unique_append() { grep -qF "$1" "$2" || echo "$1" >> "$2" } unique_append \ '*/5 * * * * ((sleep $(($RANDOM % 120)); shared-state sync node_info &> /dev/null)&)'\ /etc/crontabs/root