Add blind-update.sh
This commit is contained in:
parent
29bb2d6003
commit
148a8b110c
3 changed files with 46 additions and 0 deletions
|
|
@ -92,4 +92,9 @@ function sql_bookkeep_load() {
|
|||
# 'sql_bookkeep_list' lists all slugs from the bookkeeping table
|
||||
function sql_bookkeep_list() {
|
||||
dockerized_mysql -D "$DISTILLERY_BOOKKEEPING_DATABASE" -e "SELECT slug FROM \`$DISTILLERY_BOOKKEEPING_TABLE\`; " | tail -n +2
|
||||
}
|
||||
|
||||
# 'sql_bookkeep_list' lists all slugs from the bookkeeping table which should be automatically updated
|
||||
function sql_bookkeep_list_updateable() {
|
||||
dockerized_mysql -D "$DISTILLERY_BOOKKEEPING_DATABASE" -e "SELECT slug FROM \`$DISTILLERY_BOOKKEEPING_TABLE\` WHERE auto_blind_update_enabled=1; " | tail -n +2
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue