Skip to content

TCronPicker / 定时任务选择器

CronPicker provides a visual interface for generating cron expressions. Supports linux, quartz, and webman formats with presets. / 定时任务选择器提供可视化界面生成 Cron 表达式,支持 linux、quartz 和 webman 格式及预设。

Props / 属性

PropTypeDefaultDescription
v-modelstringCron expression
format'linux' | 'quartz' | 'webman''linux'Cron format
disabledbooleanfalseDisabled

Basic Usage / 基础用法

vue
<script setup lang="ts">
import { TCronPicker } from '@gulcc/tabler-vue'

const cron = ref('0 0 * * *')
</script>

<template>
  <TCronPicker v-model="cron" format="linux" />
</template>