Cron job service doesn't deploy and it doesn't have any logs
yangningbu
HOBBYOP

8 months ago

I created a service mimicking my node backend project. I set the start command to node ./path/to/service.js arg1 arg2 but this job seems to fail without printing any logs. Since there are no logs I have no idea what's failing. Env vars? Relative path an issue? Node not installed? I have no idea. Is there a way to get access to the run logs even if the "deploy" logs are empty?

$10 Bounty

1 Replies

alexwebgr
HOBBY

8 months ago

Hi there

how do you know it is failing?

i reckon you add some logs in your node backend project with console.log or something


Loading...