DEV Community

yingyi.ma
yingyi.ma

Posted on

I built a natural language cron expression generator – looking for feedback

As a backend developer, every time I write a scheduled job I go through this:

  1. Figure out the schedule (e.g. "every Monday at 9am")
  2. Google "cron expression syntax"
  3. Open crontab.guru to verify
  4. Copy the expression, then look up Kubernetes CronJob YAML format
  5. Look up GitHub Actions cron syntax separately
  6. Repeat for Jenkins, Airflow...

This is tedious. So I built Hey Cron.

What it does

Type a plain English (or Chinese) description of your schedule, and Hey Cron instantly generates ready-to-use configs for:

  • ⚙️ Kubernetes CronJob
  • 🐙 GitHub Actions
  • 🔧 Jenkins Pipeline
  • 🌊 Apache Airflow
  • 🖥️ Linux crontab
  • 🟢 Node.js (node-cron)
  • 🐍 Python (APScheduler)

Example:

Input: "every Monday at 9am"

Output:

  • Cron: 0 9 * * 1
  • Kubernetes: schedule: "0 9 * * 1"
  • GitHub Actions: cron: '0 9 * * 1'
  • And more...

Why not just use ChatGPT?

You can. But Hey Cron is faster for this specific task – no context needed, output is always correctly formatted, and you get all platforms at once.

Status

Currently in development. I'm validating demand before building the full product.

If this solves a real pain point for you, join the waitlist at heycron.com – I'll notify you when it launches.

Would love honest feedback: is this useful, or do you handle cron expressions differently?

Top comments (0)