fix(cron): Fix cron scripts#103
Conversation
|
@eduardocorrearaujo any idea? this is the command I ran: make docker-cron ENV=prod CRON=colombia.sh &> /tmp/services.log |
|
That's because the argument to https://www.postgresql.org/docs/current/sql-insert.html#SQL-ON-CONFLICT |
| logger.info('table casos_positivos_covid updated') | ||
|
|
||
|
|
||
| upsert( |
There was a problem hiding this comment.
If the "on conflict update" is being done by Pangres upsert function, we need to know how it is doing it or switch to doing it ourselves using plain SQL.
I will take a look at it, thank you. |
|
@eduardocorrearaujo thank you so much! |
|
log: |
|
I managed to replicate this problem changing the local environment variables. |
|
Just missing the CI part. it seems that it is a problem with environment variables. hope to have this merged later today |
|
thanks for the review @fccoelho |
No description provided.