Skip to Content.
Sympa Menu

en - [sympa-users] Re: Create own task

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Yves Blusseau <address@concealed>
  • Cc: address@concealed
  • Subject: [sympa-users] Re: Create own task
  • Date: Wed, 20 Jun 2007 11:22:04 +0200

Yves Blusseau a écrit :
Hi,

How can i create my own task when a new list is created ?

Are there some parameters in the config file ?

Thanks in advance.
Yves Blusseau
Hi,

Do you want to automatically create a task when a list is created by modifying the config.tt2 used to create it?
In the list configuration file, you must define the model and version of the task you want to create. Therefore, you can introduce it into you config.tt2 for the list model concerned.

Thereafter, tasks must be added into the relevant directory (being etc/list_task_models/ or expl/<listname>/) to be gathered by the task manager.
If you want a task to be applied to any list in a server or host, you must add this task to the "list_task_models/" of etc/ (for the server) or etc/<hostname>/ (for a virtual host). This way, anytime you create a list in this server or host, it will inherit this task.

Does it answer your question or am I far from your needs?

Regards,

--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page