AmohPrince
Explore posts from serversTTCTheo's Typesafe Cult
•Created by AmohPrince on 2/27/2025 in #questions
Where the hell do you guys buy your domains
Hello brethren,
I come onto you with a special request? is ti clodflare, vercel, hostinger or namecheap? what is "best"?
13 replies
CCConvex Community
•Created by AmohPrince on 2/13/2025 in #support-community
How to properly authenticate convex functions called via fetchAction and fetchMutation.
So in a user context I have found that you can pass the users token to object on the third arguement of a fetch action call as below
Now this is all nice and cozy but what happens if I want to authenticate a function call in a non user context. what token will i pass. In my research I have heard that I can create an api key and pass it to convex on the same field but I dont fully grasp the concept.
Thanks foryour time
3 replies
CCConvex Community
•Created by AmohPrince on 9/12/2023 in #support-community
How to start or stop CRON jobs programatically
I have this job that decreases a value in my database every second by one. But I don't want it to be alive forever basically. I want it to start its work when i want to and stop its work when i want to. How can i do that. Here is the CRON file and associated code.
2 replies
CCConvex Community
•Created by AmohPrince on 9/11/2023 in #support-community
How to call setInterval from a mutation.
I have been trying to run an internal mutation that decreases a time field in the db every second.
Here is what i have currently. Someone explain to me how i can do that without client mutations?
3 replies
CCConvex Community
•Created by AmohPrince on 9/8/2023 in #support-community
are internalMutations only callable from actions?.
From the docs i got this message Internal functions can be called from other functions using the internal object. but the runMutation function is only available in the ctx object of the action handler. Is it supposed to be this way or im i doing something wrong here is a code snippet.
9 replies