#!/bin/sh if (( $RANDOM % 20 == 0)); then apt-get -qq update apt-get -qq -y autoremove fi