Giter Site home page Giter Site logo

cronbundle's Introduction

whatwedoCronBundle

This bundle helps to run Symfony commands as cron job.

Features include:

  • Define existing commands as cron job
  • Schedule cron job with your system existing cron daemon or use integrated scheduler
  • Set maximum runtime of cron jobs
  • Allow/disallow parallel execution of a cron job
  • Activate/disable cron execution
  • Automated database cleanup

Note: this bundle is currently under heavy development

Documentation

The source of the documentation is stored in the docs folder. Jump to the master documentation

Known bugs

  • The first execution of new CronJobs does not check the Cron Expresion

License

This bundle is under the MIT license. See the complete license in the bundle: LICENSE

cronbundle's People

Contributors

dowitsch avatar kusiboss avatar ruesa18 avatar rugbymauri avatar tuxes3 avatar xarem avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kusiboss

cronbundle's Issues

doc: --last-run

When this argument is added and a last run is available. The according timestamp will automatically be added.

Index on Execution::$startedAt

We should add an index on Execution::$startedAt. Currently it's using a filesort.

EXPLAIN
SELECT
	w0_.id AS id_0,
	w0_.state AS state_1,
	w0_.job AS job_2,
	w0_.command AS command_3,
	w0_.started_at AS started_at_4,
	w0_.updated_at AS updated_at_5,
	w0_.finished_at AS finished_at_6,
	w0_.pid AS pid_7,
	w0_.exit_code AS exit_code_8,
	w0_.stdout AS stdout_9,
	w0_.stderr AS stderr_10
FROM
	whatwedo_cron_execution w0_
WHERE
	w0_.job = '[...]'
ORDER BY
	w0_.started_at DESC
LIMIT 1
Using where; Using filesort

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.