https://github.com/listen180/sys-packages-auto-upgrade
https://github.com/listen180/sys-packages-auto-upgrade
Last synced: 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 (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T10:04:23.000Z (over 1 year ago)
- Last Synced: 2025-03-02T10:25:59.700Z (over 1 year 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.