-
Notifications
You must be signed in to change notification settings - Fork 38
run Gratipay 274 #1149
Comments
Accounts reviewed. |
Problem taking backup:
It was pretty much done, too. :-/ And now my comment won't post. whit537.org won't load. Wireless on my laptop is dead? It's off but it shows as on in the status bar? Restarting computer. Now getting "Wi-Fi: No hardware installed". I saw this for the first time a week ago. Re-restart cleared it up, iirc? |
😓 |
Backup restarted ... |
Backup finished and verified. |
Started script, saw Sept 1 and killed it. UTC! Restarted ...
|
Saw a |
But now it looks like the script kept running? 😞
|
I've shelved my work on gratipay/gratipay.com#4548 and am back on |
I am reading |
|
Okay, that sucked. I re-ran ... and it started a new payday! And so I ctrl-c'd right at "It's payday!" ... and then remembered that that wasn't enough to kill the script last time! So I did a
|
There is no log for 275. Why not? 👀
|
Because I ran it as 274, so new messages are appended to 274.
|
Thankfully, it appears that I killed the process in the nick of time. I see card holds but no captures. 😓 💦 |
Sooooo, we will want to cancel all of those card holds, but we can do that later today. |
For now we need to get back on track with notifications. |
And then finish running payday. |
There it is:
|
We'll have to clean that up later as well. 😞 |
... or now? I believe in order to rerun without picking up the new, wrong payday, what we need to do is delete 341, and reset ts_end on 340 back to |
|
|
Okay! So now a rerun will pick up 340, see stage 2, skip |
😅
|
I really don't like that we're installing cron jobs during payday (could we be flushing email from local!?), but that's another story as well. |
Gosh! Okay! |
That was eventful.. |
There are only ~30 card holds. I might cancel manually in the Braintree dashboard instead of trying to script it in API. |
Although, looking at I think we can just do:
|
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
from gratipay import wireup
from gratipay.billing.payday import Payday
wireup.billing(wireup.env())
Payday.fetch_card_holds([]) |
Sooo ...
You okay with that, @rohitpaulk? |
I don't see a side-effect to importing |
|
|
Okay, getting ready to pull the trigger on:
from gratipay import wireup
from gratipay.billing.payday import Payday
wireup.billing(wireup.env())
Payday.fetch_card_holds([]) |
3 ... |
2 ... |
1 ... |
0! |
|
|
Still held in my bank account per bank's web interface. Will check back later on that. |
We canceled one extra hold for 12.05 that must've been left over from ... last time? Or something? Otherwise the amounts all line up for the 31 we accidentally created. |
Oh! Hold placement is multi-threaded so we could've created the 12.05 hold but not logged it. |
Alright! Things to reticket:
|
Reticketed! Closing. |
← Payday 273
Runbook
http://inside.gratipay.com/howto/run-payday
Checklist
Rotation
The text was updated successfully, but these errors were encountered: