Skip to content

Repository files navigation

dKsync

Package tools for import / export cron jobs using dKron API

Install

go get -v github.com/MGSousa/dKsync

Run

Use Cron Job Importer

package main
import"github.com/MGSousa/dKsync"funcmain() {
sync:= dksync.CronSync {
Concurrency: "allow",
DisableJob: false,
Tags: "{\"mytag\":\"true\"}",
Executor: "shell",
Processor: map[string]map[string]string{"plugin": {...}},
Retries: 1,
DryRun: true,
}
sync.JobsProcessor("/var/spool/cron/crontabs/root")
}

About

Provides tools for import / export cron jobs from dKron

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages