Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] periodic expiration task - expire.yearly.task
- From: Mark Meenan <address@concealed>
- To: address@concealed
- Subject: [sympa-users] periodic expiration task - expire.yearly.task
- Date: Fri, 18 May 2018 09:53:05 +0100
Due to the imminent arrival of GDPR I had recently been getting requests from list owners on how to ensure that their lists are populated by people who have agreed to be there. I thought one way might be to use the expire subscription option - that way subscribers have to confirm their inclusion on a regular basis.
No one had been using this before and I wanted to check how it worked so
I set up a test list and set it to use subscription expiry. However it didn't seem to work.
On looking further I found that the expire model is commented out in task.manager.pl
#my @list_models = ('expire', 'remind', 'sync_include');
my @list_models = ('sync_include', 'remind');
I tried swapping the lines
my @list_models = ('expire', 'remind', 'sync_include');
#my @list_models = ('sync_include', 'remind');
and relaunching sympa
but then I started getting syntax errors in /var/log/messages
May 16 11:02:13 lists task_manager[31007]: notice main::create() Creation of
/address@concealed
May 16 11:02:13 lists task_manager[31007]: notice main::create() With model
/home/sympa/default/list_task_models/expire.yearly.task
May 16 11:02:13 lists task_manager[31007]: err main::#335 > main::create#523
> main::check#564 Error at line 15: @deleted = delete (@selection)
May 16 11:02:13 lists task_manager[31007]: err main::#335 > main::create#523
> main::check#565 non valid assignment delete (@selection)
May 16 11:02:13 lists task_manager[31007]: err main::#335 > main::create#524
error : syntax error in
/address@concealed,
you should check /home/sympa/default/list_task_models/expire.yearly.task
May 16 11:02:13 lists task_manager[31007]: notice main::create()
/address@concealed
deleted
Is this feature not working at all or am I doing missing something simple.
Thanks
Mark Meenan
University of Glasgow
- [sympa-users] periodic expiration task - expire.yearly.task, Mark Meenan, 05/18/2018
Archive powered by MHonArc 2.6.19+.