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

2 years 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

Closed

4 Replies

bazalu
HOBBYOP

2 years ago

N/A


2 years ago


bazalu
HOBBYOP

2 years 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


2 years ago

you would need to write code to achieve the functionality you desire


Welcome!

Sign in to your Railway account to join the conversation.

Loading...