Download the PHP package bentools/crontab-bundle without Composer

On this page you can find all versions of the php package bentools/crontab-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 crontab-bundle

Crontab Bundle CI Workflow

An easy way to generate a crontab based on the application path.

Unlike similar Symfony bundles, this one does not provide a worker, it actually replaces the user's crontab.

⚠️ Do not use this if your user's crontab may by altered by another process!

[!IMPORTANT]
This repository is no longer maintained and may be removed in a near future. You may consider creating a fork if you still require it.

Installation

This bundle is compatible with Symfony 4/5+. Use 0.1.* tag for earlier versions compatibility.

With Symfony Flex, you're already done!

Usage

Create a sample crontab in config/crontab.dist:

As you can see, {%kernel.project_dir%} is a container parameter. It will be replaced at runtime with its current value. You can use any container parameter wrapped with curly braces.

Preview

This will give you a preview of your crontab:

Apply

To apply your crontab, run this:

Now if you execute crontab -l in your shell you should see something like this:

FAQ

Can I use any container parameter?

Yes.

I don't want the dist file to be config/crontab.dist. Can I change that?

Sure: create a config/packages/bentools_crontab.yaml and change the dist_file parameter:

What are the command options?

I already have a crontab for the user running my app. Will it replace it?

Yes. Use this bundle only if you consider it to be the only crontab entry point.

Tests

License

MIT


All versions of crontab-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
symfony/console Version ^4.0|^5.0
symfony/framework-bundle Version ^4.0|^5.0
symfony/process Version ^4.0|^5.0
symfony/yaml Version ^4.0|^5.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 bentools/crontab-bundle contains the following files

Loading the files please wait ....