#!/bin/sh unique_append() { grep -qF "$1" "$2" || echo "$1" >> "$2" } unique_append \ '*/20 * * * * ((sleep $(($(random-numgen) % 600)); check-date-http &> /dev/null)&)'\ /etc/crontabs/root