Hi Team, Any idea, why I am seeing only hours not...
# ask-community-for-troubleshooting
t
Hi Team, Any idea, why I am seeing only hours not minutes in the below[Replication Frequency]? AirByte Version: 0.40.4
s
The reasoning for the UI change is in this pull request: https://github.com/airbytehq/airbyte/pull/15708 It's still possible to leverage our API to trigger syncs at a custom time not listed, there's some suggestions in this community forum post. For example, you can set up a cron trigger to hit the
connections/sync
endpoint: https://airbyte-public-api-docs.s3.us-east-2.amazonaws.com/rapidoc-api-docs.html#post-/v1/connections/sync
t
Hi @Sunny Hashmi (Airbyte) Thanks for the quick response. But is there way still I can change from hours to minutes or both?
s
@Tarak dba Not in the UI unfortunately 😞 But you can definitely specify specific hours/minutes notation using cron
t
ho okay, are we planning for UI in the feature releases? cron is temporary fix?
s
Oh wait, it looks like there is a way to update the schedule in API 🙂 I haven't tested it yet but there is a
schedule
field in the connections/update endpoint where you can specify in minutes how often you'd like it to sync. If you were to do it that way, I would recommend: 1. pulling the connection schema using the Get a connection endpoint 2. Adjusting the
schedule
(or
scheduleData
for a cron expression) as you see fit. Attached a screenshot, also more info on different schema fields and what they mean is in the linked API documentation 3. Send the json back using the Update a connection endpoint
And no, unfortunately it doesn't look like there will be more fine grained control in the UI planned to be implemented, mostly because lower than 1 hour is sometimes unreliable and may cause issues with users who are not aware. However, the API should still allow for this customization
t
Hi @Sunny Hashmi (Airbyte) Since, I am not a developer, so I cant understand how can I do the above steps?