restricted uptime

Well I get 21 days per month right? My app is online even at night, and I don't want it while it's under development. How can i make it be online 16h/day (2/3 of day=2/3 of month = abt 21 days) Hmm
25 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Remove it completely?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Ah ty My hosting time ends in 25 hours tho <:H_cringe:916848419828551710> <:tj_sadge:854716617610756106> 15* 17* Can I do it with an asynchronous function By importing a module or idk Much easier this way Or with a system func Inside the code like railway stop
JustJake
JustJake2y ago
You can call railway down on the CLI
KonstTheoGR
KonstTheoGR2y ago
Ok ty but where exactly And how to restart it Found it Oh do I have to install it on my pc Can i run like os.system("railway down")
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
JustJake
JustJake2y ago
From inside the instance?
KonstTheoGR
KonstTheoGR2y ago
In code Ok I'll Brb
JustJake
JustJake2y ago
ATM no but we do wanna make calling out trivial
KonstTheoGR
KonstTheoGR2y ago
I did Using eval cmd It returned a number Idk if its secret tho Ok nicr
JustJake
JustJake2y ago
You can call it so long as the CLI is installed From code Just make sure it is and that you're authenticated
KonstTheoGR
KonstTheoGR2y ago
How tho Pip install?
JustJake
JustJake2y ago
CMD + K -> Show CLI setup from inside any project
KonstTheoGR
KonstTheoGR2y ago
Or in req file Oh OK ty
JustJake
JustJake2y ago
Railway Docs
CLI | Railway Docs
Documentation for Railway
KonstTheoGR
KonstTheoGR2y ago
I couldn't find something useful How to install it in the project Without installing it on my pc
JustJake
JustJake2y ago
You'd have to build a python package for it or something Assuming you're using Python
KonstTheoGR
KonstTheoGR2y ago
Yes How to do it
JustJake
JustJake2y ago
That's on you sorry
KonstTheoGR
KonstTheoGR2y ago
Yeah but how
JustJake
JustJake2y ago
Dunno you'd have to build it
KonstTheoGR
KonstTheoGR2y ago
Yeah but how to build it <:tj_concerned_doggo:905668481792499722>
JustJake
JustJake2y ago
Gotta go help others. Everything you need is there
KonstTheoGR
KonstTheoGR2y ago
Lol Ok