2017 © Pedro Peláez
 

library crond

Manage crontab files in /etc/cron.d

image

hgg/crond

Manage crontab files in /etc/cron.d

  • Wednesday, April 3, 2013
  • by hglattergotz
  • Repository
  • 2 Watchers
  • 1 Stars
  • 52 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Crond

Simple library for managing small crontab files in /etc/cron.d., (*1)

Installation

Using Composer:, (*2)

{
    "require": {
        "hglattergotz/crond": "*"
    }
}

Usage

<?php
use HGG\Crond\Job;
use HGG\Crond\Crond;

$job = new Job();
$job->setUser('root');
$job->setCmd('/path/to/do/something/awesome');
$job->setTime('0 * * * *');
$job->setFileName('myCronJob');

$cron = new Crond();
$cron->install($job);

The above will install the cron job, (*3)

0 * * * * root /path/to/do/something/awesome

in a file located at, (*4)

/etc/cron.d/myCronJob

The Versions

03/04 2013

v1.2.0

1.2.0.0 http://github.com/hglattergotz/crond

Manage crontab files in /etc/cron.d

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

cron crontab

28/03 2013

dev-master

9999999-dev http://github.com/hglattergotz/crond

Manage crontab files in /etc/cron.d

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

cron crontab

28/03 2013

v1.1.0

1.1.0.0 http://github.com/hglattergotz/crond

Manage crontab files in /etc/cron.d

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

cron crontab

28/03 2013

v1.0.0

1.0.0.0 http://github.com/hglattergotz/crond

Manage crontab files in /etc/cron.d

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

cron crontab

18/02 2013

1.0.0-alpha1

1.0.0.0-alpha1 http://github.com/hglattergotz/crond

Manage crontab files in /etc/cron.d

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

cron crontab