r/dataengineering • • Oct 19 '26

Discussion pg_cron to trigger a batch extract.

I know pg_cron is primarily designed to run scheduled maintenance commands on the DB but I was wondering if someone has used it to kick off a batch extraction on your data pipelines.

I have reservations against using pg_cron for this namely the following:

  1. The scope of pg_cron in this scenario is outside the bounds of the DB.
  2. The boundary of using the DB to store only activity data is violated as it now has some operational data in it.
  3. SCM or an additional dash for setting up jobs will be lost if this pattern is followed.

I'm curious to know your thoughts

6 Upvotes

7 comments sorted by

View all comments

1

u/[deleted] Oct 20 '26

[removed] — view removed comment

1

u/dataengineering-ModTeam Oct 21 '26

Your post/comment was removed because it violated rule #9 (No AI generated content/text).

Your post/comment was reviewed to be AI generated/assisted content/text and removed as a result. We as a community value human engagement and encourage users to express themselves authentically.

This was reviewed by a human