Skip to content

Instantly share code, notes, and snippets.

@stevenharradine
Created February 27, 2020 18:59
Show Gist options
  • Save stevenharradine/273f6e7398925ea6c37d75c415f96bca to your computer and use it in GitHub Desktop.
Save stevenharradine/273f6e7398925ea6c37d75c415f96bca to your computer and use it in GitHub Desktop.
Update on boot cronjob
@reboot PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin && /usr/bin/apt update > /tmp/update.log && /usr/bin/apt -y upgrade >> /tmp/update.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment