Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedule configuration #2

Open
Mehonoshin opened this issue Nov 9, 2019 · 2 comments
Open

Schedule configuration #2

Mehonoshin opened this issue Nov 9, 2019 · 2 comments
Assignees

Comments

@Mehonoshin
Copy link
Member

Mehonoshin commented Nov 9, 2019

Let's try to use
https://github.com/Rykian/clockwork#use-with-database-events for keeping schedule in the database.

On scheduler side we need also to create a small GQL-app, maybe based on sinatra or pure rack, that will provide CRUD for scheduling events.

Scheduled entity should have reference to Task model from OmniScrapperHQ app, so we can get a list of tasks that are scheduled for specific moment.

On omniscrapperhq side we need to have a page, which allows to schedule events. When we submit this form - controller performs a GQL query to scheduler API.
To display list of schedules we also call GQL api on scheduler side.

@Mehonoshin
Copy link
Member Author

@artemrakov wdyt, can you implement this?

@artemrakov
Copy link
Contributor

@Mehonoshin Sure

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

No branches or pull requests

2 participants