I would like to use something like CRON for running some SQL functions. Is pg_cron available with PostgreSQL at Koyeb? If so could you point me in the direction of which documentation I can follow to get it going please? If not, which alternatives are available?
I think I will go down the route of using Github Actions to create a cron style schedule, which will then trigger the job i need to run via the koyeb api service.
As mentioned in the above post, I have managed to trigger a PostgreSQL function via REST a few times per hour by creating a Github Action with the following included in the YAML:
schedule:
cron: ‘*/15 * * * *’
This works without authentication. I just need to tidy that bit once your new functionality for authenticated endpoints is available.