2017 © Pedro Peláez
 

library yii2-job

Component to yii2 for using cron job.

image

eurojet/yii2-job

Component to yii2 for using cron job.

  • Thursday, August 17, 2017
  • by wincdev
  • Repository
  • 0 Watchers
  • 0 Stars
  • 113 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 5 % Grown

The README.md

yii-job

A simple module to have cron-like jobs in your database. In addition to yii's commands, yii-job can be used to create on-the-fly asynchronous jobs. Different kinds of jobs are supported:, (*1)

  1. Jobs with crontab that are triggered at defined times.
  2. Ad-Hoc jobs that are executed at a defined time (or as soon as possible).

To actually process the jobs you can use the JobCommand, which itself can be triggered by a sytem cron job. A common scenario is system a cron job that is executed once per minute to trigger JobCommand., (*2)

Database Installing

Run migration, (*3)

yii migrate --migrationPath=@eurojet/yii2-job/migrations, (*4)

Yii Installing

Mapping command job from this package to your configuration in main.php., (*5)

Run

If you want to trigger the job processing from the command line you still need a cron job that executes the JobCommand. It should be triggers like this:, (*6)

yiic job

This is the index command which will sync your jobs in the config with your database and run all jobs that are due., (*7)

The Versions

17/08 2017

dev-master

9999999-dev

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

17/08 2017

v1.0.14

1.0.14.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

11/08 2017

v1.0.13

1.0.13.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

04/08 2017

v1.0.12

1.0.12.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

04/08 2017

v1.0.11

1.0.11.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

19/07 2017

v1.0.10

1.0.10.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

18/07 2017

v1.0.8

1.0.8.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

27/06 2017

v1.0.7

1.0.7.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

05/06 2017

v1.0.6

1.0.6.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

29/05 2017

v1.0.5

1.0.5.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

16/05 2017

v1.0.4

1.0.4.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

16/05 2017

v1.0.3

1.0.3.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

16/05 2017

v1.0.2

1.0.2.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

16/05 2017

v1.0.1

1.0.1.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab

16/05 2017

v1.0.0

1.0.0.0

Component to yii2 for using cron job.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Horvath

yii2 job cron crontab