Download the PHP package mybuilder/cronos without Composer
On this page you can find all versions of the php package mybuilder/cronos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cronos
Cronos
Easily configure cron through PHP.
If you use Symfony 4/5/6, you could use our cool bundle in order to configure your app jobs through fancy annotations!
Setup and Configuration
Require the library via composer:
composer require mybuilder/cronos
Usage
Build Cron
That will print
[email protected]
HOME=home
SHELL=shell
LOGNAME=logName
CONTENT_TYPE=text
CONTENT_TRANSFER_ENCODING=utf8
#Comment
1 2 3 4 5 /bin/bash command --env=dev > log 2>> error
Updating Cron
Troubleshooting
- The current user must have a existing crontab file to use the updater, use
crontab -e
to create one. - When a cron line is executed it is executed with the user that owns the crontab, but it will not execute any of the users default shell files so all paths etc need to be specified in the command called from the cron line.
- Your crontab will not be executed if you do not have usable shell in
/etc/passwd
- If your jobs don't seem to be running, check the cron daemon is running, also check your username is in
/etc/cron.allow
and not in/etc/cron.deny
. - Environmental substitutions do not work, you cannot use things like
$PATH
,$HOME
, or~/sbin
. - You cannot use
%
in the command, if you need to use it, escape the command in backticks.
Created by MyBuilder - Check out our blog for more insight into this and other open-source projects we release.
All versions of cronos with dependencies
PHP Build Version
Package Version
The package mybuilder/cronos contains the following files
Loading the files please wait ....