Skip to main content
Seasoned ⭐️⭐️
Jul 19, 2023 5:55 AM UTC
Solved

Schedule for custom db extractor

Is there any way to define schedule for custom db extractor (based on cognite-extractor-utils)  alike default extractor.

 

roman.chesnokov
Expert ⭐️⭐️⭐️⭐️
Jul 19, 2023 7:43 AM UTC

Hey @Mohit Shakaly . I'm sorry, but extractor-utils doesn't have that feature. However, you can choose to run it continuously and set the schedule within your code. Alternatively, you can terminate the extractor after each upload and set the schedule externally using a tool like cron.

2 replies

roman.chesnokov
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
Jul 19, 2023 7:43 AM UTC

Hey @Mohit Shakaly . I'm sorry, but extractor-utils doesn't have that feature. However, you can choose to run it continuously and set the schedule within your code. Alternatively, you can terminate the extractor after each upload and set the schedule externally using a tool like cron.

Seasoned ⭐️⭐️
Jul 19, 2023 11:33 AM UTC

Thanks @roman.chesnokov for the insights.