--segment_uid for listexport

chriphil

Member
Hi,

A feature request: to have the possibility to add a '--segment_uid' to the command "console.php listexport --list_uid=<list>"

I've a segment of more than 1 millions subscribers, it takes too much time through the web interface.

Thanks.

Regards,
JC
 
@chriphil - i have implemented this, do you want to test it?
If so,
-- unzip attached ListCsvExport.php.zip and put resulted file in apps/common/models.
-- unzip attached ListExportCommand.php.zip file and put resulted file in apps/console/commands folder
--- both of the above should replace existing files.

Now you can call php console.php list-export --list_uid=x --segment_uid=y, so give it a try and see if it works.
Thanks.
 

Attachments

  • ListCsvExport.php.zip
    1.4 KB · Views: 7
  • ListExportCommand.php.zip
    2 KB · Views: 4
Hi Twisted
First, many thanks to work on this feature.

But I've a problem:
Code:
# php htdocs/apps/console/console.php list-export --uid-list=ot237vpp0w99b --segment_list=tg056vk3vr8c4
PHP Error[2]: include(ConsoleCommand.php): failed to open stream: No such file or directory
    in file /usr/local/www/data/<..>/htdocs/apps/common/framework/YiiBase.php at line 432
#0 /usr/local/www/data/<..>/htdocs/apps/common/framework/YiiBase.php(432): autoload()
#1 unknown(0): autoload()
[..]

I'm using mailwizz 1.3.6.5. Maybe ConsoleCommand.php is part of 1.3.6.6 -> .9 ?

Regards,
JC
 
Back
Top