⏲️

Cron Job Builder

Verified

by Community

Helps you create cron job expressions and configurations with proper logging, error handling, and overlap prevention. Covers cron syntax, crontab management, systemd timers as alternatives, and monitoring cron job execution.

cronschedulingautomationjobscli

Cron Job Builder

Build cron job schedules with proper logging, error handling, overlap prevention, and monitoring.

Usage

Describe the schedule and task you need, and this skill will generate the cron configuration.

Examples

  • "Create a cron job to run database backups every day at 2 AM"
  • "Schedule a log rotation script to run weekly on Sundays"
  • "Set up a cron job that retries on failure and sends email alerts"

Guidelines

  • Use flock or similar to prevent overlapping executions
  • Redirect both stdout and stderr to log files
  • Use absolute paths for all commands and files in cron
  • Set proper PATH and environment variables in the crontab
  • Monitor cron job execution with alerting on failures