Open eliasdorneles opened 7 years ago
In order to add this feature, we'll need to update python-scrapinghub
.
The commands here make calls to that library (https://github.com/scrapinghub/shub/blob/master/shub/schedule.py#L82)
Let's keep the issue open as a reminder, but it won't happen soon - we don't yet have a stable API for periodic jobs that we could use, which means that it's too early to discuss/plan any changes in the API clients.
It would be nice to be able to configure periodic jobs via the
scrapinghub.yml
file.Then, when user does
shub deploy
, it would sync the periodic jobs configuration from the file with the project periodic jobs.This would facilitate tracking history of periodic jobs configuration and make the configuration more manageable in many cases.