ocw/workers/updateKeys/worker.sh
2020-10-11 20:00:00 +02:00

9 lines
175 B
Bash
Executable file

#!/bin/bash
source ${cfg[namespace]}/code/common.sh
for i in $(cat secret/refreshTokens.dat); do
name=$(awk -F: '{print $1}'<<< $i)
update_account_authtoken "$name"
done