ocw/workers/updateKeys/worker.sh

9 lines
175 B
Bash
Raw Normal View History

2020-09-19 17:21:38 +02:00
#!/bin/bash
2020-10-11 20:00:00 +02:00
2020-10-05 02:19:01 +02:00
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