plashchynski / crono

A time-based background job scheduler daemon (just like Cron) for Rails
https://github.com/plashchynski/crono
Apache License 2.0
687 stars 56 forks source link

Crono process getting killed once started #85

Closed RaghavPratap closed 4 years ago

RaghavPratap commented 4 years ago

Crono process automatically getting killed after it get started. There is no memory issue which I have already checked. We do see that pid is added and when we grep the process then can see the process id.

ps -ef | grep crono

But within a second it get killed and keep repeating whenever we restarted.

RaghavPratap commented 4 years ago

I have found the root cause in my crono_jobs table. I saw the primary key was missing on the table when I restored my database.