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)
25 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Remove it completely?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
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
You can call
railway down
on the CLIOk 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•3y ago
Message Not Public
Sign In & Join Server To View
From inside the instance?
In code
Ok I'll
Brb
ATM no but we do wanna make calling out trivial
I did
Using eval cmd
It returned a number
Idk if its secret tho
Ok nicr
You can call it so long as the CLI is installed
From code
Just make sure it is and that you're authenticated
How tho
Pip install?
CMD + K -> Show CLI setup from inside any project
Or in req file
Oh OK ty
I couldn't find something useful
How to install it in the project
Without installing it on my pc
You'd have to build a python package for it or something
Assuming you're using Python
Yes
How to do it
That's on you sorry
Yeah but how
Dunno you'd have to build it
Yeah but how to build it <:tj_concerned_doggo:905668481792499722>
Gotta go help others. Everything you need is there
Lol
Ok