I hereby claim:
- I am shingonoide on github.
- I am shingonoide (https://keybase.io/shingonoide) on keybase.
- I have a public key ASD9Vww-BH1NvdsPNpnGdOxO4Tg0gHSSovLoA_Zt8QXlQAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| # example | |
| # add this to crontab -e of odoo user | |
| # curl -sL https://gist.github.com/shingonoide/1947a97e3c00168372e950a6788ce9ad/raw/cleanup_odoo_session.sh > /tmp/cleanup_sessions.sh && sh /tmp/cleanup_sessions.sh 4 | |
| HOW_OLDER=${1:-6} | |
| VERBOSE=${2:-0} | |
| SESSION_FOLDER="$HOME/.local/share/Odoo/sessions" | |
| TOTALFILES=$(find $SESSION_FOLDER -name '*.sess' | wc -l) |
| 01-03-2017 @ 14:39:22 - Getting the order installments... | |
| 01-03-2017 @ 14:39:22 - request[headers]:Array | |
| ( | |
| ) | |
| 01-03-2017 @ 14:39:22 - request[body]:{"api_key":"recorrenteNet_b0c03713-a906-4f03-8d69-d668b68cd99c","amount":10300,"interest_rate":"1","max_installments":"12","free_installments":"10"} | |
| 01-03-2017 @ 14:39:22 - request[to]: https://recorrente.net/1/transactions/calculate_installments_amount | |
| 01-03-2017 @ 14:39:23 - Failed to get the installments: Array | |
| ( | |
| [headers] => Requests_Utility_CaseInsensitiveDictionary Object |
| Verifying my Blockstack ID is secured with the address 1PCcZG6DpWgg2w686ebbiS9Q3L28qtGiTt https://explorer.blockstack.org/address/1PCcZG6DpWgg2w686ebbiS9Q3L28qtGiTt |