Hi, we have a cron job which runs some heavy processing. Lately it’s been under heavier load, so we noticed some jobs backed up. After tailing the logs, we found out its because Aptible terminates the service when it reaches memory the limit, and then restarts the service.
Is there a way to notified of this termination?
2017-05-15T20:31:21.826Z [cron asdfasdfsdf - aptible]: container exceeded its memory allocation
2017-05-15T20:31:21.827Z [crona asfasfasf - aptible]: container is restarting: