logoalt Hacker News

raimuetoday at 3:25 PM2 repliesview on HN

You could just wrap cronic around the command and immediately receive the full output per mail when it fails. I don't see how a heartbeat alone without logs would help to identify temporary failures.

https://habilis.net/cronic/

Your service could accomplish something similar if it had such a wrapper to report both success and failures with logs to a remote server. That would take away the need to run a local MTA, while also detecting with the heartbeat whether the job ran at all.


Replies

4815162342today at 5:34 PM

Thanks for the suggestion!

There's currently no explicit "fail" ping, as that's not the main use case I care about. It's valid, though, and I've thought about adding it.

Being able to pipe logs to curl would also be useful. I'm concerned that people might accidentally send me private/sensitive data, but I'll consider it.

mherrmanntoday at 3:48 PM

> I don't see how a heartbeat alone without logs would help to identify temporary failures.

It does help. Sometimes jobs unexpectedly don't run at all.

show 1 reply