Update README.md
This commit is contained in:
parent
f84876aabb
commit
357ca75bc8
25
README.md
25
README.md
@ -1,2 +1,25 @@
|
|||||||
# macos-battery-alert-to-maintain-health.el
|
|
||||||
MacOS alert if the battery exceeds certain percentage charge limits to maintain health.
|
MacOS alert if the battery exceeds certain percentage charge limits to maintain health.
|
||||||
|
|
||||||
|
100% Elisp!
|
||||||
|
|
||||||
|
# Run
|
||||||
|
|
||||||
|
``` shell
|
||||||
|
emacs --no-init-file --no-site-file --script macos-battery-alert-to-maintain-health.el
|
||||||
|
```
|
||||||
|
|
||||||
|
# Cron
|
||||||
|
|
||||||
|
Automates to check every 10 minutes.
|
||||||
|
|
||||||
|
Open `crontab`.
|
||||||
|
|
||||||
|
``` shell
|
||||||
|
crontab -e
|
||||||
|
```
|
||||||
|
|
||||||
|
Add the following line. Be sure to change the path of the script.
|
||||||
|
|
||||||
|
``` shell
|
||||||
|
*/6 * * * * emacs --no-init-file --no-site-file --script macos-battery-alert-to-maintain-health.el
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user