Reid Hewitt

Results 46 comments of Reid Hewitt

apscheduler supports [sqlalchemy](https://apscheduler.readthedocs.io/en/3.x/modules/jobstores/sqlalchemy.html#apscheduler.jobstores.sqlalchemy.SQLAlchemyJobStore) for persistent storage in postgres. (as an example). i'm not sure what level of persistence this supports though ( e.g. does it retain historic job runs )

[draft pr](https://github.com/GSA/datagov-harvesting-logic/pull/53). so far i haven't been able to get the scheduler to start on container start in a non-hacky way. at this point, i've been able to get it...

cf-python-client task [creation](https://github.com/cloudfoundry-community/cf-python-client/blob/fa4b480d485be7ee55e5c0fc78e9adb43907f0b1/main/cloudfoundry_client/v3/tasks.py#L13)

[active branch](https://github.com/GSA/datagov-harvesting-logic/tree/cf-integration)

an exception is thrown when you attempt to cancel a task that has already succeeded. `Task state is SUCCEEDED and therefore cannot be canceled`

@Jin-Sun-tts this depends on flask login integration. let's discuss this week

![Image](https://github.com/GSA/data.gov/assets/92057378/00035120-9cda-471d-9210-473d1bb9b70d)

![Image](https://github.com/GSA/data.gov/assets/92057378/548efc32-f23c-43bf-aabc-c004f2e79adf)

> @rshewitt, does anything changed on this ticket regarding job scheduling work listed under these tickets? > > #4683 #4319 @gujral-rei we're replacing github actions as our scheduler for our...

sending an http request opens the database up to unclosed connections. idk if setting a timeout would mitigate this but if caution isn't properly taken the database performance could be...