AmohPrince
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