2017 © Pedro Peláez
 

symfony-bundle cron-bundle

A cron job manager for symfony console.

image

padam87/cron-bundle

A cron job manager for symfony console.

  • Monday, February 27, 2017
  • by Padam87
  • Repository
  • 2 Watchers
  • 7 Stars
  • 679 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 11 Versions
  • 4 % Grown

The README.md

CronBundle

A cron job manager for symfony console., (*1)

Installation

A simple bundle install. No extra stuff., (*2)

composer require padam87/cron-bundle, (*3)

new Padam87\CronBundle\Padam87CronBundle(),, (*4)

Configuration

padam87_cron:
  log_dir: %cron_log_dir%
  variables:
    mailto: %cron_mailto%
    any_other_variable_you_might_need: 'some_value'

Usage (v3)

Please note that v2 versions of this bundle still support annotations., (*5)

Commands

  • cron:dump dumps the cronfile
  • cron:import dumps the cronfile to the temp dir, and imports it

Basic

#[Job(minute: '5', hour: '0')]
class MyCommand extends Command

Groups

#[Job(minute: '5',hour: '0', group: 'master')]
class MyCommand extends Command

Output file

#[Job(minute: '5', hour: '0', logFile: 'my-command.log')]
class MyCommand extends Command

The Versions

09/05 2016
15/01 2016
29/10 2015
21/07 2015
19/05 2015

v1.0.1

1.0.1.0 https://github.com/Padam87/CronBundle

A cron job manager for symfony console.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Prager

console symfony cron

19/05 2015

v1.0.0

1.0.0.0 https://github.com/Padam87/CronBundle

A cron job manager for symfony console.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Prager

console symfony cron