Skip to content

kudeepak/ZF2CronModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Zend Framework 2 : Generic Console Module for cron job

Install the module in your ZF2 application.

To use this module, You need to write function in model and need to create an entry of that model in module.php's "getServiceConfig()" function as we are doing the same to call our model function in controller.

After that you can run the command :

php public/index.php cron index --method='Method name defined in model' --model='Key set in side the getServiceConfig' [--args='Optional, you can pass any string parameter']

If any issue or query contact on kudeepakh@gmail.com. Website : http://deepakkumar.co.in/

Releases

No releases published

Packages

No packages published

Languages