Subject: The mailing list for listmasters using Sympa
List archive
- From: Giuseppe Giacomini <address@concealed>
- To: address@concealed
- Subject: [sympa-users] expire.yearly.task
- Date: Mon, 16 Jul 2007 08:58:18 +0200
Good morning
is there a way to create an expiration task only for editors?
This is the expiration model for subscribers
title.gettext expiration routine run yearly
/STEP1
@selection = select_subs (older ([creation_date]-1y))
send_msg (@selection, expire_warning1)
next ([execution_date]+3w, STEP2)
/STEP2
@selection = select_subs (older ([creation_date]-1y))
send_msg (@selection, expire_warning2)
next ([execution_date]+1w, STEP3)
/STEP3
@selection = select_subs (older ([creation_date]-1y))
@deleted = delete (@selection)
send_msg (@deleted, expire_deletion)
stop ()
Is it possible to create a similar task to find, contact and then expire only editors?
The condition should be is_editor AND older ([creation_date]-1y)
Is it possible to create this condition?
Thank you
--
Giuseppe Giacomini
Centro Servizi Informatici e di Telecomunicazioni di Ateneo
Universita' Ca' Foscari Venezia
- [sympa-users] expire.yearly.task, Giuseppe Giacomini, 07/16/2007
Archive powered by MHonArc 2.6.19+.