[GH-ISSUE #129] Allow custom cron interval for health checks #107

Open
opened 2026-02-26 21:34:28 +03:00 by kerem · 2 comments
Owner

Originally created by @Dopixel on GitHub (Jul 30, 2025).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/129

Originally assigned to: @eduardolat on GitHub.

Hi there 👋

First of all, thank you so much for this amazing tool — it’s incredibly helpful for managing my clients' PostgreSQL backups.

I’m currently using a serverless PostgreSQL provider (neon.tech), and I’ve noticed that my billing increased almost 8x since setting up PgBackWeb 😅

After investigating, it appears this is caused by the health checks running every 10 minutes, which keeps the database constantly awake and triggers serverless billing.

Would you consider supporting this kind of serverless use case by allowing the user to customize the health check interval?

For example:

  • Adding an environment variable like PBW_DB_HEALTHCHECK_CRON
  • Or enabling override via volume mounting (e.g. cmd/app/init_schedule.go or config-driven cron setup)

For now, I’ve had to temporarily stop using PgBackWeb to avoid unnecessary billing while waiting for a solution 🙏

Thank you again for your hard work — looking forward to seeing this tool evolve!

Originally created by @Dopixel on GitHub (Jul 30, 2025). Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/129 Originally assigned to: @eduardolat on GitHub. Hi there 👋 First of all, thank you so much for this amazing tool — it’s incredibly helpful for managing my clients' PostgreSQL backups. I’m currently using a serverless PostgreSQL provider (neon.tech), and I’ve noticed that my billing increased almost 8x since setting up PgBackWeb 😅 After investigating, it appears this is caused by the health checks running every 10 minutes, which keeps the database constantly awake and triggers serverless billing. Would you consider supporting this kind of serverless use case by allowing the user to customize the health check interval? For example: - Adding an environment variable like `PBW_DB_HEALTHCHECK_CRON` - Or enabling override via volume mounting (e.g. `cmd/app/init_schedule.go` or config-driven cron setup) For now, I’ve had to temporarily stop using PgBackWeb to avoid unnecessary billing while waiting for a solution 🙏 Thank you again for your hard work — looking forward to seeing this tool evolve!
Author
Owner

@eduardolat commented on GitHub (Aug 8, 2025):

You're welcome and thanks for using pg back web and of course let me implement this when I have some free time.

<!-- gh-comment-id:3166699895 --> @eduardolat commented on GitHub (Aug 8, 2025): You're welcome and thanks for using pg back web and of course let me implement this when I have some free time.
Author
Owner

@Dopixel commented on GitHub (Aug 8, 2025):

Thank you 🙏

<!-- gh-comment-id:3167006583 --> @Dopixel commented on GitHub (Aug 8, 2025): Thank you 🙏
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pgbackweb#107
No description provided.