View Issue Details

IDProjectCategoryView StatusLast Update
12120Feature requests[All Projects] Pluginspublic2017-02-13 09:40
ReporterDenisChenu 
Assigned ToDenisChenu 
PrioritynoneSeverityfeature 
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary12120: Command action with target
DescriptionCurrently we have a cron command : then if we need a single action done :! we have to create a cron plugin and all other plugin goes for this cron.
Maybe it's better if we have a specific plugin with target mandatory.
Additional Informationapplication command/console.php plugin action target= seem OK

And add target, default to null in cron.
TagsNo tags attached.

Relationships

Activities

DenisChenu

2017-02-09 19:31

developer   ~42992

https://github.com/LimeSurvey/LimeSurvey/pull/638

Usage
php application/commands/console.php plugin --target=mypluglin
php application/commands/console.php plugin --target=mypluglin --function=specific --option=one

ShnoulleT

2017-02-13 09:39

reporter   ~43005

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=22275

Related Changesets

LimeSurvey: master 1f266acc

2017-02-13 09:39:25

ShnoulleT


Committer: GitHub Details Diff
New feature 12120: direct action by php-cli (#638)

Dev: target mandatory
Dev: 2 optionnal parameters function and options
mod - application/commands/PluginCommand.php Diff File

Issue History

Date Modified Username Field Change
2017-02-09 15:02 DenisChenu New Issue
2017-02-09 15:02 DenisChenu Status new => assigned
2017-02-09 15:02 DenisChenu Assigned To => DenisChenu
2017-02-09 19:31 DenisChenu Note Added: 42992
2017-02-13 09:39 ShnoulleT Changeset attached => LimeSurvey master 1f266acc
2017-02-13 09:39 ShnoulleT Note Added: 43005
2017-02-13 09:39 ShnoulleT Assigned To DenisChenu => ShnoulleT
2017-02-13 09:39 ShnoulleT Resolution open => fixed
2017-02-13 09:40 DenisChenu Assigned To ShnoulleT => DenisChenu
2017-02-13 09:40 DenisChenu Status assigned => resolved