R
Railway3mo ago
praz

How can i deplay a cron job for a specific route or graphql function

I'm trying to schedule a function—either a GraphQL mutation or a specific route—to run every 5 hours. However, most examples I've seen only demonstrate how to set up a cron job for hourly intervals. How can I modify this so that it runs every 5 hours
5 Replies
Percy
Percy3mo ago
Project ID: N/A
praz
prazOP3mo ago
N/A
praz
prazOP3mo ago
yes i get that but how would i deploy it in railway where it only reruns a specific enpoint so let's day i deplyed my api and in /check it basically would run that endpoint every 10 min
Brody
Brody3mo ago
you would need to write code to achieve the functionality you desire
Want results from more Discord servers?
Add your server