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
Project ID:
N/A
N/A
Solution
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
you would need to write code to achieve the functionality you desire