All Projects → karoletrych → vue-cron-editor

karoletrych / vue-cron-editor

Licence: MIT license
Vue component for easier editing of cron expressions.

Programming Languages

typescript
32286 projects
Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to vue-cron-editor

croncpp
A C++11/14/17 header-only cross-platform library for handling CRON expressions
Stars: ✭ 162 (+165.57%)
Mutual labels:  cron
langx-java
Java tools, helper, common utilities. A replacement of guava, apache-commons, hutool
Stars: ✭ 50 (-18.03%)
Mutual labels:  cron
SilkierQuartz
SilkierQuartz can host jobs using HostService and Provide a web management tools for Quartz !
Stars: ✭ 263 (+331.15%)
Mutual labels:  cron
butdr
Backup to Cloud( Google Drive, Dropbox ... ) use rclone
Stars: ✭ 49 (-19.67%)
Mutual labels:  cron
EasyCronJob
This repository provides easy cron job to your application on IHostedService.
Stars: ✭ 66 (+8.2%)
Mutual labels:  cron
vue-pokemon-memory-game
Pokémon Memory Game
Stars: ✭ 48 (-21.31%)
Mutual labels:  buefy
docker-nextcloud
Nextcloud Docker image
Stars: ✭ 209 (+242.62%)
Mutual labels:  cron
delay-timer
Time-manager of delayed tasks. Like crontab, but synchronous asynchronous tasks are possible scheduling, and dynamic add/cancel/remove is supported.
Stars: ✭ 257 (+321.31%)
Mutual labels:  cron
cron-docker-image
Docker image to run cron inside the Docker container
Stars: ✭ 73 (+19.67%)
Mutual labels:  cron
legacy-bottlerockets
Node.js high availability queue and scheduler for background job processing
Stars: ✭ 25 (-59.02%)
Mutual labels:  cron
VestaCP-Sync-Backups-To-Mega
VestaCP: uploading backups to the MEGA cloud
Stars: ✭ 17 (-72.13%)
Mutual labels:  cron
cron-utils-examples
Usage examples for cron-utils libraries.
Stars: ✭ 32 (-47.54%)
Mutual labels:  cron
angular-cron-gen
A basic way to for users to graphically build a cron expression using Angular.
Stars: ✭ 36 (-40.98%)
Mutual labels:  cron
electron-vue-buefy-editor
A Markdown editor with live preview written using Vue.js, Buefy (Bulma), the Ace editor component, and running inside the Electron framework.
Stars: ✭ 26 (-57.38%)
Mutual labels:  buefy
pgsql-backup
PostgreSQL Backup Script. Ported from AutoMySQLBackup.
Stars: ✭ 24 (-60.66%)
Mutual labels:  cron
yii2-deferred-tasks
Yii2 extension for handling deferred tasks (background cron jobs)
Stars: ✭ 11 (-81.97%)
Mutual labels:  cron
fastify-cron
Run cron jobs alongside your Fastify server 👷
Stars: ✭ 32 (-47.54%)
Mutual labels:  cron
croner
Trigger functions and/or evaluate cron expressions in JavaScript. No dependencies. Most features. All environments.
Stars: ✭ 169 (+177.05%)
Mutual labels:  cron
gnome-shell-extension-sermon
A GNOME Shell extension for monitoring and managing systemd services, cron jobs, docker and poman containers
Stars: ✭ 27 (-55.74%)
Mutual labels:  cron
cron-validate
A cron-expression validator for TypeScript/JavaScript projects.
Stars: ✭ 40 (-34.43%)
Mutual labels:  cron

Actions Status

vue-cron-editor

VueCronEditor is a component library built with Vue allowing for easier editing of cron expressions.

Demo

https://karoletrych.github.io/vue-cron-editor/

(The code is here: https://github.com/karoletrych/vue-cron-editor/blob/master/src/App.vue)

Requirements

  • Vue ^2.0

Installation

  • vue-cron-editor-buefy
npm install vue-cron-editor-buefy --save

Usage

<template>
  <div>
    <VueCronEditorBuefy v-model="cronExpression"/>
    {{cronExpression}}
  </div>
</template>

<script>
import VueCronEditorBuefy from 'vue-cron-editor-buefy';
// or include the vue-cron-editor-buefy.umd.js file and call: 
// Vue.component("vue-cron-editor-buefy", window["vue-cron-editor-buefy"]);

export default {
  name: 'App',
  components: {
    VueCronEditorBuefy
  },
  data: () => ({
      cronExpression: "*/1 * * * *"
  }),
};
</script>

The editor tab will be set to the one which is able to represent an initial expression given to a value prop (minutes tab in the example above). If none of the tabs can represent the given expression then advanced tab is selected.

Kind of cron syntax can be selected with cronSyntax prop. Available:

  • basic (default) - (classic GNU version, 5 digits)
  • quartz - (6 digits)

To show only some of the tabs, specify them using visibleTabs prop: :visibleTabs="['daily', 'weekly', 'monthly']" Possible tabs: "minutes", "hourly", "daily", "weekly", "monthly", "advanced".

To preserve expression on switch to advanced tab set the preserveStateOnSwitchToAdvanced to true.

i18n

The language of the component can be selected with the locale prop.

<VueCronEditorBuefy
    v-model="expression"
    locale="pl"
></VueCronEditorBuefy>

Currently supported languages:

  • en
  • pl
  • pt
  • it
  • es

Custom locales can be provided via a customLocales prop:

<VueCronEditorBuefy
    v-model="expression"
    locale="test"
    :custom-locales="{
    test: {
        every: "Every",
        mminutes: "minute(s)",
        hoursOnMinute: "hour(s) on minute",
        daysAt: "day(s) at",
        at: "at",
        onThe: "On the",
        dayOfEvery: "day, of every",
        monthsAt: "month(s), at",
        everyDay: "Every",
        mon: "Mon",
        tue: "Tue",
        wed: "Wed",
        thu: "Thu",
        fri: "Fri",
        sat: "Sat",
        sun: "Sun",
        hasToBeBetween: "Has to be between",
        and: "and",
        minutes: "MINUTES",
        hourly: "HOURLY",
        daily: "DAILY",
        weekly: "WEEKLY",
        monthly: "MONTHLY",
        advanced: "ADVANCED",
        cronExpression: "cron expression:"
    }
}"
></VueCronEditorBuefy>

Development

To build the samples app run in root directory:

npm install
npm run serve

In case you get “$attrs is readonly”,“$listeners is readonly” in console, clean the node_modules in root folder and in src/buefy (it's probably caused by duplicate vue loading by webpack.

To run unit tests:

npm run test:unit

To release version:

cd src/buefy
npm run release:full
npm publish
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].