Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/listen180/sys-packages-auto-upgrade
https://github.com/listen180/sys-packages-auto-upgrade
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/listen180/sys-packages-auto-upgrade
- Owner: Listen180
- Created: 2021-09-06T04:46:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T10:04:23.000Z (about 2 months ago)
- Last Synced: 2024-11-13T11:18:54.643Z (about 2 months ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
System Packages Auto Upgrade
============================Usage
#####Clone this repo
---------------Clone this repo to any location you want.
.. code-block:: shell
git clone https://github.com/Listen180/sys-packages-auto-upgrade
Setting in CRONTAB (sudo)
-------------------------Edit the crontab list in ``sudo`` mode:
.. code-block:: shell
sudo crontab -e
Add this line:
.. code-block:: shell
0 7 * * 5 cd [PATH-TO-THIS-REPO] && sh sys_packages_auto_upgrade.sh 2>&1 &
which will excute the auto upgrade program every friday at 7AM. You can always change the setting by yourself in crontab.