Download the PHP package rockschtar/wordpress-cronjob without Composer
On this page you can find all versions of the php package rockschtar/wordpress-cronjob. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rockschtar/wordpress-cronjob
More information about rockschtar/wordpress-cronjob
Files in rockschtar/wordpress-cronjob
Download rockschtar/wordpress-cronjob
More information about rockschtar/wordpress-cronjob
Files in rockschtar/wordpress-cronjob
Vendor rockschtar
Package wordpress-cronjob
Short Description Library for use with roots/bedrock based WordPress projects. Simplifys the creation of WordPress cronjobs.
License MIT
Package wordpress-cronjob
Short Description Library for use with roots/bedrock based WordPress projects. Simplifys the creation of WordPress cronjobs.
License MIT
Please rate this library. Is it a good library?
Informations about the package wordpress-cronjob
rockschtar/cronjob
Description
Library for use with roots/bedrock based WordPress projects. Simplifys the creation of WordPress cronjobs.
Requirements
- PHP 7.1+
- Composer to install
License
rockschtar/wordpress-cronjob is open source and released under MIT license. See LICENSE.md file for more info.
Usage
Create a cronjob class
class TestCronjob extends AbstractCronjob {
public function execute(): void {
//do some stuff
}
public function config(): CronjobConfig {
$config = new CronjobConfig();
$config->setHook('do_test_cronjob');
$config->setPluginFile('some_plugin.php');
$config->setFirstRun(new \DateTime());
$config->setRecurrence('daily');
return $config;
}
}
Initialize the class
TestCronjob::init();
Question? Issues?
rockschtar/wordpress-cronjob is hosted on GitLab. Feel free to open issues there for suggestions, questions and real issues.
All versions of wordpress-cronjob with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
The package rockschtar/wordpress-cronjob contains the following files
Loading the files please wait ...