CDLUC3 / mrt-doc

Documentation and Information regarding the Merritt repository
8 stars 4 forks source link

SSM Params: Create MySql Wrappers #384

Closed terrywbrady closed 4 years ago

terrywbrady commented 4 years ago
terrywbrady commented 4 years ago

Some duplication of #393

terrywbrady commented 4 years ago

In the interim, I have setup a cron in my home account on the ops box.

bash-4.2$ crontab -l
0 1 * * * ~/dbSyncCron.sh
bash-4.2$ cat dbSyncCron.sh 
#!/bin/bash

uc3-mysql.sh billing -rp (stage path) -- -e 'call update_billing_range();'
uc3-mysql.sh billing -rp (stage path) -- -e 'call update_object_size();'
uc3-mysql.sh billing -rp (prod path) -- -e 'call update_billing_range();'
uc3-mysql.sh billing -rp (prod path) -- -e 'call update_object_size();'
ashleygould commented 4 years ago

This tool set has been deployed to all uc3 merritt hosts via puppet.

terrywbrady commented 4 years ago

@ashleygould , will you create the cron entries within the dpr2 account or is that something that I can do?

ashleygould commented 4 years ago

@terrywbrady I will do it. You don't have write access to puppet.

https://www.pivotaltracker.com/story/show/174181456