Download the PHP package cron/cron-bundle without Composer

On this page you can find all versions of the php package cron/cron-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cron-bundle

Cron Bundle

Packagist Build status Packagist

Cron integration for symfony.

Installation

Installing this bundle can be done through these simple steps:

  1. Add the bundle to your project as a composer dependency:

  2. Add the bundle to your application kernel:

  3. Update your DB schema

  4. Start using the bundle:

  5. To run your cron jobs automatically, add the following line to your (or whomever's) crontab:

    OR If you don't have a dedicated cron daemon (e.g. in Heroku), you can use:

Available commands

list

Show a list of all jobs. Job names are show with if they are enabled and otherwise.

create

Create a new job.

delete

Delete a job. For your own protection, the job must be disabled first.

enable

Enable a job.

disable

Disable a job.

run

which we borrowed from Symfony. Make sure to check out php-cs-fixer as this will help you a lot. Please note that --force forces the job to be executed (even if disabled) based on the job schedule

run now, independent of the job schedule

run in non-cli contexts (i.e. from a controller)

start

Start the cron as a daemon. By default it forks itself to the background and suppresses any output. The --blocking option will keep it in the foreground and will display output. This is useful when you don't have a dedicated cron daemon (e.g. on Heroku).

stop

Stops the background cron daemon started with cron:start. This is not applicable when the daemon was started with --blocking.

If you would like to help, take a look at the list of issues.

Requirements

PHP 5.5.9 or above

Author and contributors

Dries De Peuter - http://nousefreak.be

See also the list of contributors who participated in this project.

License

CronBundle is licensed under the MIT license.


All versions of cron-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-pcntl Version *
ext-posix Version *
cron/cron Version ^1.0.1
doctrine/collections Version *
doctrine/dbal Version *
doctrine/orm Version >=2.4.5
doctrine/persistence Version *
symfony/config Version ^5.0|^6.0|^7.0
symfony/console Version ^5.0|^6.0|^7.0
symfony/dependency-injection Version ^5.0|^6.0|^7.0
symfony/http-kernel Version ^5.0|^6.0|^7.0
symfony/process Version ^5.0|^6.0|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cron/cron-bundle contains the following files

Loading the files please wait ....