From ffd4966c4796cbb4fcf919aff9a1cd7cc9e0fa2d Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Thu, 10 Oct 2024 16:46:32 +0800 Subject: [PATCH] add(crontab): auto apt-get update&upgrade --- crontab/autoApt.job | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 crontab/autoApt.job diff --git a/crontab/autoApt.job b/crontab/autoApt.job new file mode 100755 index 0000000..2f4f396 --- /dev/null +++ b/crontab/autoApt.job @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +apt-get update && apt-get upgrade -y && apt-get autoclean && apt-get autoremove -y \ No newline at end of file