An open API service indexing awesome lists of open source software.

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

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
```