Custom Replication/Sync Time

  • Is this your first time deploying Airbyte: Yes

  • OS Version / Instance: Mac O

  • Memory / Disk: 16Gb / 1Tb SSD

  • Deployment: Docker / Kubernetes

  • Airbyte Version: 0.55.55-alpha

  • Source name/version: File 0.24

  • Destination name/version: Snowflake

  • Description: I want to replicate or sync data on Weekly basis but there is no such options how can I do that?

Hi @Dev-ManishTomar,
The web interface does not allow to pick a scheduled interval greater than 24h.
But leveraging our API you could:

  • Trigger the sync from a weekly cron with your own script
  • Set the scheduling to 7 days by updating the connection configuration

Any Guide which I can follow?

We do not have this kind of guide, because it’s rather a UI workaround rather than an optimal solution.

You can basically run a curl command from a cron on this endpoint.

E.G for a weekly trigger in a crontab

0 0 * * 0 curl -X POST http://localhost:8000/api/v1/connections/sync  -H "Content-Type: application/json" -d '{"connectionId": "<your-connection-id>"}'

When this set up is working you can disable the scheduling of your connection from the UI so it will only run when triggered by your cron job (considered as a manual sync by Airbyte).