Run a command on every reboot with cron

crontab -e

# cron starts before the network is always up, hence the sleep
@reboot sleep 30 && /usr/local/bin/warm-cache.sh >> /var/log/warm-cache.log 2>&1