R
Railway4mo ago
Nafi

cron runs fine, rare but inconvenient bug

4 hours ago I had a project wide cron timeout, which prevented further deploys since (I had to deploy manually). How can I fix this without having to doing an intracontainer cron?
Solution:
i've looked into the workflow that ran the cron job you have linked and there are no indications that this was a platform issue, from our prospective the deploy went off without an issue. this means your app itself failed to start....
Jump to solution
14 Replies
Percy
Percy4mo ago
Project ID: a64cb229-ac29-4d6b-ab09-c35744abf268
Nafi
NafiOP4mo ago
a64cb229-ac29-4d6b-ab09-c35744abf268 First cron: 57 0-20 * * 1-5 Second cron: 0 * * * 1-5
Brody
Brody4mo ago
can you clarify on what you mean by project wide cron timeout?
Nafi
NafiOP4mo ago
It just stops at starting container I have two instances deployed in the project Both have cron tasks
Brody
Brody4mo ago
can you provide a deep link to that deployment
Nafi
NafiOP4mo ago
How
Brody
Brody4mo ago
copy the url
Nafi
NafiOP4mo ago
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Nafi
NafiOP4mo ago
The first deployment before ‘skipped’ was when it occurred
Nafi
NafiOP4mo ago
No description
Nafi
NafiOP4mo ago
The first completed after was when I had to manually deploy (then it returned to normal) It could be relevant that I am running a subprocess within the app that uses ssh -tt @Brody do you recommend using your cron template
Solution
Brody
Brody4mo ago
i've looked into the workflow that ran the cron job you have linked and there are no indications that this was a platform issue, from our prospective the deploy went off without an issue. this means your app itself failed to start.
Nafi
NafiOP4mo ago
But two different deployments had the exact same problem. I find that very strange.
Brody
Brody4mo ago
your application failed to start twice, unfortunately railway has no more visibility into what your own code is or is not doing than you would.
Want results from more Discord servers?
Add your server