cps-user3C
Convex Community3y ago
3 replies
cps-user3

Is there a way to modify the arguments of a schedule function?

export const getScheduledMessage = query({
args: {
id: v.id("_scheduled_functions"),
},
handler: async (ctx, args) => {
return await ctx.db.system.get(args.id);
},
});

I'd like to fetch the schedule, just like in the example document, and modify the arguments that are reserved.
Is there any good way?
Was this page helpful?