Gitlab Community Edition Instance

Commit b96debfb authored by Bjoern Nachtwey's avatar Bjoern Nachtwey
Browse files

new approcach for cron

parent f3118739
#! /bin/bash
##############################################################################
#
# cron/monitor/daily-stats.sh
#
# collecting all "tsm stats" scripts run once daily in this script
#
# (C) 2021 GWD Göttingen, Bjørn Nachtwey
# mailto:bjoern.nachtwey@gwdg.de
#
##############################################################################
#
# changelog
# date version remark
# 2021-11-23 0.0.1 initial coding, rewrite from existing
# add requests for account credentials
#
##############################################################################
# set and aquire account credentials
#! /bin/bash
##############################################################################
#
# cron/monitor/get-credentials.sh
#
# calls for getting tsm credentails needed
# should be copied to all other scripts
#
# (C) 2021 GWD Göttingen, Bjørn Nachtwey
# mailto:bjoern.nachtwey@gwdg.de
#
##############################################################################
#
# changelog
# date version remark
# 2021-11-23 0.0.1 initial coding
#
##############################################################################
# set and aquire account credentials
credpath=/tsm/cred
monadm=$(cat $credpath/monadm)
monpwd=$(cat $credpath/monpwd)
storadm=$(cat $credpath/storpwd)
storpwd=$(cat $credpath/storpwd)
poladm=$(cat $credpath/poladm)
polpwd=$(cat $credpath/polpwd)
sysadm=$(cat $credpath/sysadm)
syspwd=$(cat $credpath/syspwd)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment