Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

[Suggestion] Logging / Events for a better integration #31

Open
xcesaralejandro opened this issue Mar 30, 2021 · 0 comments
Open

[Suggestion] Logging / Events for a better integration #31

xcesaralejandro opened this issue Mar 30, 2021 · 0 comments

Comments

@xcesaralejandro
Copy link

To develop great things related to canvas data updating the data needs to be automated, of course I appreciate your script, however, it lacks events that can allow to control states within another application created in different languages.
There are always alternatives, but it would be interesting if the current script could keep a record and different update states in a database (Postgresql - Mysql) and then simply take care of keeping the script running at all times with something like "supervisor".

DB table:
ID - Table name - start_at - finished_at - status (finished - failed - in_progress)
1 // account_dim // 30-03-2021 15:00 // NULL // In progress

It could also be complemented with a general update table, which is updated only when all the tables were updated.

DB table:
ID - start_at - finished_at - status (finished - in_progress - failed)

Finally, complement with a parameter the maximum number of download retries per table in the command.

canvasDataCli sync -c path/to/config.js --max_attempts=3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant