bazalu
HOBBYOP
a year ago
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
4 Replies
a year 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
a year ago
you would need to write code to achieve the functionality you desire