besimking
CCConvex Community
•Created by besimking on 12/28/2024 in #support-community
Generic Query and Mutations
@erquhart @Lee Thanks a lot! You are the best
8 replies
CCConvex Community
•Created by besimking on 12/28/2024 in #support-community
Generic Query and Mutations
Has anyone done something like this before?
8 replies
CCConvex Community
•Created by besimking on 12/28/2024 in #support-community
Generic Query and Mutations
I need a structure like
8 replies
CCConvex Community
•Created by besimking on 12/28/2024 in #support-community
Generic Query and Mutations
or
8 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
Problem solved. Princess saved. Thanks Spider-Man
World Peace ☮️
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
I am trying
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
Yeah I've found that out 🤣 I am sorry for this
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
How exactly?
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
This is the thing and still no world peace
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
BTW if it was a need to make a schedule according to user interaction we have to use ctx.scheduler.runAfter. Is that so?
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
Let's say that I want to send a requst to gemini api every 5 minutes and I will directly record it to the database. I will create blog posts automatically. No direct or indirect user interaction is included for this process
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
Generally Scheduled
28 replies
CCConvex Community
•Created by besimking on 12/4/2024 in #support-community
Cron Jobs, Actions, Internal Mutation
Just to be clear
Create a Cron Job
Define a cron job that will execute at regular intervals. The cron job will trigger an internal mutation.
Call an Internal Mutation
The cron job calls an internal mutation where the main logic is handled.
Invoke the Action
Inside the internal mutation, call an action that sends a request to the Gemini API. The action is responsible for fetching the necessary data.
Process the Response
Take the response from the action in the internal mutation, validate it, and ensure it's in the correct format.
Insert into the Database in Internal Mutation
Save the processed data into your database using the mutation.
Is that correct?
28 replies