Run a self-starting VM on Railway
Got an application with the https://create.t3.gg/ create t3 app. Would like to run a page perpetually from npm run start, or any command that is started on uploading the code to railway (railway up).
https://blog.railway.app/p/cron-jobs I see this applications, but I prefer my t3 app cause I have error management and localhost testing etc. what do I need to fill in scripts in package.json to run a file similar to "node dist/index.js" but then for my stack (because that doesnt work).
Best case scenario is I would like to be able to control my virtual machine from command line and/or by starting a localhost session.
Railway Blog
Cron Jobs on Railway
A brief guide on deploying and running cron jobs on Railway using JavaScript.
3 Replies
Please provide your project ID or reply with
N/A
. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.You might find these helpful:
- Monorepo fails to consistently deploy, can't find start folder
⚠️ experimental feature
No project ID was provided. Closing thread.