SHAKA PAKA
Explore posts from serversPython Cron App (clock process) Procfile help
Here: https://docs.railway.app/deploy/builds#procfiles I found info about "web:", but it's not web in my case and I can't find info about other options
20 replies
Python Cron App (clock process) Procfile help
Okay, but I deployed with this Procfile and everything work. I guess "clock:" just does nothing in my case? Will be the same if you write web: python main.py
And how actually "python main.py" works if it's Poetry project or does it run it in the poetry shell?
And what does it mean in Procfile web:, clock:, etc., I just can see that my app is called "clock" in railway.
And in general, does it make sense to write something in the Procfile if I have a poetry application that is using "schedule" module in main.py in root?
I'm new to deployments so sorry if these will seem like odd questions.
20 replies