Elektrine lite

← Feed

@SnyperWolf@kind.social

Post #1041762

2026-04-08 21:07 UTC

A work question: how do y'all deal with a job that fails in a way that it registers as a success? I have some number of powershell jobs that fail some percentage of the time, but very few actually log that failure. I typically have a second job that will email me if the first job has not completed in some timeframe. But this "trust but verify" method has its own flaw that the verify job could also fail silently

Replies (1)

  • @dark_stang@kind.social 2026-04-09 00:40

    @SnyperWolf Can you detect and explicitly will exit with a non-zero code in these cases? I am definitely not a powershell expert, but I do have a lot of cronjobs in various languages.

    Open ##1268177