Issue Accessing Cron Job Logs – Infinite Execution Without Logs

tirones-123
FREEOP

5 months ago

Hi,

I'm currently experiencing an issue with one of my cron jobs. It appears to be running indefinitely, but I'm unable to see any relevant logs under the “Cron Runs” section or anywhere else in the dashboard.

Could you please advise where I can access the logs specific to my cron job executions? I need to understand what’s going wrong, but the deploy logs don’t seem to reflect the cron job’s activity either.

Thanks in advance for your help!

$10 Bounty

6 Replies


Status changed to Awaiting User Response Railway 5 months ago


Status changed to Solved sarahkb125 5 months ago


tirones-123
FREEOP

5 months ago

No when I click on my cron task I don't get the logs of it. And I can't stop it also.


Status changed to Awaiting Railway Response Railway 5 months ago


sarahkb125
EMPLOYEE

5 months ago

What's happening is the task is still running, which is why the next task won't run until this one stops. I think this is how your n8n task is configured. Opening up to the community


Status changed to Awaiting User Response Railway 5 months ago


sarahkb125

What's happening is the task is still running, which is why the next task won't run until this one stops. I think this is how your n8n task is configured. Opening up to the community

tirones-123
FREEOP

5 months ago

It is not my n8n server it is my other project! And i can't see logs.


tirones-123

It is not my n8n server it is my other project! And i can't see logs.

sim
FREE

5 months ago

The photos that you attached are showing some logs - are you missing some? n8n is in a sandbox so the logs may not be showing. I saw this on another question https://station.railway.com/questions/n8n-function-code-node-console-log-outpu-9fedf886


sim
FREE

5 months ago

As per their community, that is where the logs show up https://community.n8n.io/t/not-seeing-logs-added-in-code-node-in-server-logs/125849

They have detailed documentation available on how logging in n8n works https://docs.n8n.io/code/cookbook/code-node/console-log/


Issue Accessing Cron Job Logs – Infinite Execution Without Logs - Railway Help Station