mirror of
https://github.com/dennisreimann/kindle-display.git
synced 2026-08-13 12:33:45 +02:00
Add example server cronjob
This commit is contained in:
parent
26305a6928
commit
146597ce6a
1 changed files with 10 additions and 1 deletions
11
README.md
11
README.md
|
|
@ -58,7 +58,16 @@ npm start
|
|||
open http://localhost:3030/display.png
|
||||
```
|
||||
|
||||
Once everything works, deploy the server app and setup a cronjob to trigger the `cron.sh` script regularly.
|
||||
Once everything works, deploy the server app and setup a cronjob to trigger the `cron.sh` script regularly:
|
||||
|
||||
```bash
|
||||
SHELL=/bin/bash
|
||||
PATH=/bin:/usr/bin:/usr/local/bin
|
||||
*/5 * * * * /PATH_TO_INSTALL_DIRECTORY/kindle-display/server/cron.sh > /dev/null 2>&1
|
||||
```
|
||||
|
||||
This example runs every five minutes and references the relevant paths.
|
||||
Adapt the cronjob to your needs.
|
||||
|
||||
## Kindle
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue