Can i set a trigger to shutdown or start a deployment at a specified time

Can i set a trigger to start the service at 9 am and stop running at 18 pm? Like, i can make this manualy, start dev and just stop dev, but sometimes i forget to end and he keeping making reqs. Just like normal jobs where some services shut down to preserve energy
3 Replies
Percy
Percy13mo ago
Project ID: N/A
Brody
Brody13mo ago
Can i set a trigger to start the service at 9 am and stop running at 18 pm?
railway does not natively offer this functionality best alternative would be app sleeping https://docs.railway.app/reference/app-sleeping
Adam
Adam13mo ago
you can start your service with a cron job then make it quit itself with a cron job in your app Railway cron job to start custom cron job to end
Want results from more Discord servers?
Add your server