https://github.com/diohabara/update-managed-repo
Automatically update all managed repo once a day
https://github.com/diohabara/update-managed-repo
shellscript
Last synced: about 1 year ago
JSON representation
Automatically update all managed repo once a day
- Host: GitHub
- URL: https://github.com/diohabara/update-managed-repo
- Owner: diohabara
- License: mit
- Created: 2022-08-31T15:53:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T01:08:04.000Z (over 3 years ago)
- Last Synced: 2025-01-30T03:25:22.229Z (over 1 year ago)
- Topics: shellscript
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# update-managed-repo
Automatically update all managed repos
## dependencies
- [`ghq`](https://github.com/x-motemen/ghq)
## setup
Find the right schedule for you to run the script here
Open a cron editor
```bash
crontab -e
```
Input as following
```
{what you get from https://crontab.guru/} cd {path to this repo} && ./update-managed-repo.sh
```
E.g.,
```
0 */6 * * * cd /Users/user/repo/github.com/diohabara/update-managed-repo && ./update-managed-repo.sh
```