Let me know if this works for you guys.
Update!!
I modified the script a little. I find that after some updates the server needs to be rebooted, so I just added the command to the script. Mine looks like this:
#!/bin/bash
apt-get update; apt-get upgrade -y; apt-get autoclean; shutdown -r now
No Response to "Cron job to run a weekly Update & Upgrade"
Post a Comment