-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(schedule): adding crontab logic
- Loading branch information
1 parent
a207916
commit 71698df
Showing
5 changed files
with
57 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
#!/usr/bin/with-contenv bashio | ||
|
||
DEFAULT_LEASE=$(bashio::config 'default_lease') | ||
DOMAIN=$(bashio::config 'domain') | ||
MAX_LEASE=$(bashio::config 'max_lease') | ||
|
||
export URL=$(bashio::config 'url') | ||
export APIKEY=$(bashio::config 'apikey') | ||
export FRONIUS_IP=$(bashio::config 'pronius_ip') | ||
export FRONIUS_IP=$(bashio::config 'fronius_ip') | ||
export START_HR=$(bashio::config 'start_hr') | ||
export END_HR=$(bashio::config 'end_hr') | ||
export EVERY=$(bashio::config 'every') | ||
export CRONTAB=$(bashio::config 'crontab') | ||
export PW_CONSUMPTION=$(bashio::config 'pw_consumption') | ||
export MAX_CHARGE=$(bashio::config 'max_charge') | ||
export PW_BATT_RESERVE=$(bashio::config 'pw_batt_reserve') | ||
export DEFAULTS=$(bashio::config 'defaults') | ||
|
||
sbam schedule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters