Download the PHP package innmind/cron without Composer
On this page you can find all versions of the php package innmind/cron. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package cron
Short Description Helper to install crontabs on a machine
License MIT
Homepage http://github.com/Innmind/Cron
Informations about the package cron
Cron
Library to help manage crontabs of a machine
[!IMPORTANT] To correctly use this library you must validate your code with
vimeo/psalm
Installation
Usage
Insalling jobs
For the default user :
For a specific user :
Since this library rely on innmind/server-control
you can easily install a crontab on a remote server. For example installing a crontab for the user admin
on the server example.com
would be done like this :
[!NOTE] At the moment the library does not support adding comments and spaces in the crontab.
Reading a crontab
For the default user :
For a specific user :
[!NOTE] At the moment comments and spaces are not listed in the
$jobs
variable.