k8s-cron-alternatives
CommunityRun scheduled jobs without cron in pods.
Software Engineering#kubernetes#container orchestration#timezone#scheduler#cronjob#in-pod watchdog#concurrencyPolicy
Authorsaintgo7
Version1.0.0
Installs0
System Documentation
What problem does it solve?
K8s/containers often lack cron/systemd, so scheduled tasks like backups, CVE scans, health checks, or timed jobs cannot be reliably run inside the pod.
Core Features & Use Cases
- Five cron-free scheduling patterns: in-pod watchdog daemon, K8s CronJob, external host scheduler (host cron + SSH/kubectl exec), s6-cron (s6-overlay), and supervisord-backed “cron-like” orchestration.
- Pattern selection via environment diagnosis: identifies whether cron/systemd exist, whether s6-overlay is present, whether this is a K8s pod, and whether an external scheduler is feasible.
- Operational safety guidance: covers key pitfalls such as duplicate firings after restarts, multi-replica concurrent execution, timezone drift (UTC vs Asia/Seoul), and CronJob controller behaviors like startingDeadlineSeconds.
Quick Start
Ask your AI to generate the right scheduling pattern for your container by telling it whether your environment has cron/systemd, whether you have cluster admin rights, and which job schedule you need (e.g., daily at 03:00 KST or every 5 minutes).
Dependency Matrix
Required Modules
None requiredComponents
referencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: k8s-cron-alternatives Download link: https://github.com/saintgo7/claude-skills/archive/main.zip#k8s-cron-alternatives Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.