anwaro/wincron

Run cron job on Windows platform

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/anwaro/wincron

0.1.1 2018-07-11 11:27 UTC

This package is not auto-updated.

Last update: 2025-12-27 04:27:23 UTC


README

Run cron job on Windows platform

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist anwaro/wincron "*"

or

composer require --prefer-dist anwaro/wincron "*"

or add

"anwaro/wincron": "*"

to the require section of your composer.json file.

Usage

<?php
use anwaro\wincron\Cron;

$config = [
    'path' => __DIR__, // path to file with cron job list
    'file' => 'crontab.txt' // file with cron job list
];

$cron = new Cron($config);
$cron->run();