SShortSingh.
Back to feed

Cron job failures often go undetected because monitoring misses silent non-events

0
·1 views

A common system outage occurs when scheduled cron jobs fail to run at all, rather than fail during execution. Standard monitoring that only checks for process exit codes cannot detect this, as no error is generated if the job never starts. The article lists numerous silent causes, such as cron being disabled after a reboot or a full disk preventing script execution. It recommends implementing a 'dead man's switch,' where jobs proactively signal their start and completion to an external monitor to detect their absence.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Claude 5's 1M context window changes prompting strategies for Python developers

A developer shares insights from six months of using Claude 5 with its 1 million token context window for Python development. The key change is the ability to submit entire codebases for analysis instead of slicing code into smaller chunks. This enables more complex queries, such as tracing data flows across multiple files or identifying all call sites for a function. Developers must craft specific, structured prompts to receive actionable output rather than general summaries. The model's capacity shifts the focus from fitting code to designing effective prompts for practical code review and refactoring tasks.

0
ProgrammingDEV Community ·

Developer compares LLM evaluation tools, finds rubric design more critical than tool choice

A developer tested two AI evaluation frameworks, promptfoo and DeepEval, on 40 customer service replies. They concluded that carefully defining scoring criteria matters more than which framework is used. The developer created a personal tool to catch errors in rubric design, such as incorrect weight sums. The test showed explicit scoring anchors reduced inconsistent judgments more than any framework setting.

0
ProgrammingDEV Community ·

New Inference Engine Unifies 15 Sparse Attention Methods for Long-Context LLMs

Researchers have published SparseEngine, an open-source inference engine designed to make long-context AI models more efficient. It does this by abstracting the key-value cache, allowing 15 different sparse attention methods to be integrated under a single framework. The system, released under an Apache 2.0 license, can significantly improve decoding speed compared to standard engines in certain long-context scenarios. However, the paper notes that the largest speed improvements often come with a trade-off in accuracy.

0
ProgrammingDEV Community ·

Proving a timestamped hash requires producing the exact original bytes

The article questions whether developers can reproduce the exact bytes of a software release used in a timestamped hash. It demonstrates that even a rebuild from the same commit can produce different archive files due to metadata like timestamps and file order. Using deterministic build tools and specific flags can help pin these variables and achieve byte-for-byte reproducibility. The author concludes that ensuring a full pipeline reproduces identical bytes is significant work, suggesting an alternative is to timestamp a manifest of the archive's contents instead.

Cron job failures often go undetected because monitoring misses silent non-events · ShortSingh