Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knqyf263/holiday_jp-go
Japanese holiday
https://github.com/knqyf263/holiday_jp-go
Last synced: 2 months ago
JSON representation
Japanese holiday
- Host: GitHub
- URL: https://github.com/knqyf263/holiday_jp-go
- Owner: knqyf263
- License: mit
- Created: 2018-01-06T13:47:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-06T15:39:48.000Z (almost 7 years ago)
- Last Synced: 2024-08-02T16:36:03.828Z (4 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome-starred - knqyf263/holiday_jp-go - Japanese holiday (Go)
README
# holiday_jp-go
Japanese holiday (insipired by [emasaka/jpholidayp](https://github.com/emasaka/jpholidayp))Is it holiday today in Japan?
Recommend: Use with cron
## Description
Check "Is it holiday today?" in Japan.
No arguments, and no output.
Reports as exit status:* 0: holiday
* 1: not holiday
* 2: error"Holiday" means:
* Sunday and Saturday
* In [holiday_jp](https://github.com/holiday-jp/holiday_jp)## Examples
usages in crontab.
holiday_jp-go && some-command
Run some-command in holiday.
holiday_jp-go || some-command
Run some-command in weekday.
## Install
### RedHat, CentOS
```
$ sudo rpm -ivh https://github.com/knqyf263/holiday_jp-go/releases/download/v0.0.1/holiday_jp-go_0.0.1_linux_amd64.rpm
```### Debian, Ubuntu
```
$ wget https://github.com/knqyf263/holiday_jp-go/releases/download/v0.0.1/holiday_jp-go_0.0.1_linux_amd64.deb
$ dpkg -i holiday_jp-go_0.0.1_linux_amd64.deb
```### Other
Download binary from https://github.com/knqyf263/holiday_jp-go/releases## Requires
Nothing!## Author
Teppei Fukuda