dsh-cron: Cron Expression Parsing and Execution Time Calculation

When developing DeepSeek Harness (DSH) plugins or agents, you often need to parse cron expressions to confirm task schedules or predict future execution times. The dsh-cron plugin provides this capability.

Plugin Overview

This is a pure Node plugin used to parse standard 5-field cron expressions and return a human-readable description along with the next N execution times.

Core Capabilities

  • Parse cron expressions
  • Return a human-readable description
  • Calculate the next execution time

Installation and Activation

Run the installation command:

dsh plugin add github:uckkk/dsh-cron

After installation, add "dsh-cron" to the dsh.profile.bundles field in the profile’s package.json file.

Typical Usage

Call the cron_parse tool provided by the plugin. For example:

cron_parse(expr="*/5 * * * *", count=5)

Notes

Installing the plugin runs third-party code on your local machine. Please review the source code yourself.

For more information, visit: GitHub | Plugin Directory

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye