Skip to content

Commit

Permalink
Fix crontab command
Browse files Browse the repository at this point in the history
  • Loading branch information
tr4cks committed Dec 2, 2023
1 parent 22f7f8c commit 84cd5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ For example, if you want to create an entry in your `crontab` to start the serve
```crontab
SHELL=/bin/bash
0 20 * * * [ "$(power -m ilo state | jq -r '.power == false and .led == false')" = "true" ] && power -m ilo up
0 20 * * * [ "$(/usr/local/bin/power -m ilo state | jq -r '.power == false and .led == false')" = "true" ] && /usr/local/bin/power -m ilo up
```

*❕ The previous command requires the `jq` utility to run.*
Expand Down

0 comments on commit 84cd5a2

Please sign in to comment.