Giter VIP home page Giter VIP logo

cronenberg's Issues

Using incoming environment variables

Standard cron implementations nuke any environment variables that are set within their running shell. We want to do the opposite. If FOO=bar is set in the shell that launches cronenberg, we want jobs to receive FOO=bar.

Specifying a log file

Cronenberg always logs to STDOUT. We should also be able to specify a file to which logs should be written (in addition to STDOUT).

The directory tree (dirname) for the file must exist and must be writable by the user that executes cronenberg.

Using job-scoped environment variables

Given a valid job with env vars specified in a jobs file, when I pass that jobs file to cronenberg, the job should be run on its schedule, and the env vars configured for the job should be present. Also, job-scoped env vars take precedence over those specified in the calling environment.

Consider the following job:

- name: env-test
  command: echo $FOO
  when: "* * * * *"
  env:
    FOO: bar-job

Whether or not the shell from which cronenberg is launched has a FOO variable set, the output of this job should be "bar-job"

Running locking jobs

Provided a valid locking job in a jobs file, when I pass that job file to cronenberg, the job in question should be loaded and executed on the proper schedule, but only one instance of the job should be allowed to run at any given time. Attempts to run a locking job while another instance of the job already exists result in a message that the job is already running and/or is locked.

Running jobs

Provided a valid job in a jobs file, when I pass that job file to cronenberg, the job in question should be loaded and executed on the proper schedule.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.