faet(crontab): auto apt-get update&upgrade
This commit is contained in:
parent
ffd4966c47
commit
3dc96d8595
@ -1,3 +1,7 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
apt-get update && apt-get upgrade -y && apt-get autoclean && apt-get autoremove -y
|
apt update \
|
||||||
|
&& apt upgrade -y \
|
||||||
|
&& apt dist-upgrade -y \
|
||||||
|
&& apt autoclean \
|
||||||
|
&& apt autoremove -y
|
Loading…
x
Reference in New Issue
Block a user