This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Auto Updating Debian (means also Ubuntu) based Linux installations | |
# | |
# add to crontab ($ crontab -e) | |
# @reboot /home/username/update.sh >> /home/username/update.sh.log 2>&1 | |
# 30 1 * * * /home/username/update.sh >> /home/username/update.sh.log 2>&1 | |
# | |
# recognize wether we are currently inside an update process |