Is it holiday today in Japan?
Check "Is it holiday today?" in Japan.
No arguments, and no output. Reports as exit status:
- 0 (success): holiday
- 1: not holiday
- Sunday and Saturday
- In holiday_jp
It creates cache file at ~/.jpholidayp directory.
usages in crontab.
jpholidayp && some-command
Run some-command in holiday.
jpholidayp || some-command
Run some-command in weekday.
This program accesses internet server once in 5 days.
If you have to use proxy to access internet, set