Skip to content

Commit

Permalink
Fix environment variables definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Leroy committed Dec 20, 2022
1 parent 0508ced commit 0ef8d39
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ A Docker container to wake up a computer on a schedule.
```bash
docker run \
axeleroy/wakeonlan-cron-docker:latest \
-e TZ='Europe/Paris' \
-e CRON='20 4 * * *' \
-e MAC_ADDRESS=AA:BB:CC:DD:EE:FF \
-e "TZ=Europe/Paris" \
-e "CRON=20 4 * * *" \
-e "MAC_ADDRESS=AA:BB:CC:DD:EE:FF" \
--network="host"
```

Expand All @@ -22,8 +22,8 @@ services:
wake-on-lan:
image: axeleroy/wakeonlan-cron-docker:latest
environment:
- TZ='Europe/Paris'
- CRON='20 4 * * *'
- TZ=Europe/Paris
- CRON=20 4 * * *
- MAC_ADDRESS=AA:BB:CC:DD:EE:FF
network_mode: host
```
Expand All @@ -32,7 +32,7 @@ services:
| Variable | Meaning | Example |
|----------------|---------------------------------------------------------------------------|---------------------------------|
| `TZ` | Timezone | `TZ='Europe/Paris'` |
| `CRON` | Cron schedule expression (tip: use [crontab.guru](https://crontab.guru/)) | `CRON='20 4 * * *'` |
| `TZ` | Timezone | `TZ=Europe/Paris` |
| `CRON` | Cron schedule expression (tip: use [crontab.guru](https://crontab.guru/)) | `CRON=20 4 * * *` |
| `MAC_ADDRESS` | Mac address of the computer you want to wake up | `MAC_ADDRESS=AA:BB:CC:DD:EE:FF` |
| `BROADCAST_IP` | IP address of the subnet to broadcast the magic packet to | `BROADCAST_IP=192.168.0.255` |

0 comments on commit 0ef8d39

Please sign in to comment.