Skip to Content.
Sympa Menu

en - Re: [sympa-users] Question on task files and documentation

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün <address@concealed>
  • To: "Allen, Pat" <address@concealed>
  • Cc: sympa-users <address@concealed>
  • Subject: Re: [sympa-users] Question on task files and documentation
  • Date: Thu, 24 Apr 2008 19:13:17 +0200

Hi Pat,

Allen, Pat a écrit :
I'm running version 5.3.4 with virtual hosts. I have the need to send out specialized reminder messages to some of our lists on a regular basis. I am planning to use tasks for that. I've customized the remind.yearly.task to do what I want to do. But each reminder message only applies to a specific list on a specific virtual host. (For example, we have a list that has email addresses of people with sensitive accounts. They receive a regular email reminding them to change their passwords a couple of weeks before they expire.)

I've tried following the documentation on the web site (http://www.sympa.org/manual/customizing/tasks) and it says that you can put the list models in the following 4 locations:
1. /home/sympa/expl/<list path>/;
2. /home/sympa/etc/<virtual host name>/list_task_models/;
3. /home/sympa/etc/list_task_models/;
4. /home/sympa/bin/etc/list_task_models/.

I tried putting it in /home/sympa/etc/<virtual host name>/list_task_models/ but this doesn't appear to work. 
Strange ; it works fine for us.
I did some tests with the following task file : /home/sympa/etc/vhost1/list_task_models/remind.test.task
Maybe yours is not used because of access restrictions on the directory...
I can't see the new model in the administrator's interface under the remind_task. It does work if I put it in /home/sympa/etc/list_task_models but then every list sees the model file. By chance I tested an alternative and found that it also worked as I wanted it if I put the model file in /home/sympa/etc/<virtual host name>/<list path>/list_task_models/ but this isn't listed in the documentation. 
You mean  /home/sympa/expl/<virtual host name>/<list path>/list_task_models/ ?
Is this something that is changed in the software versions or is this just something that needs to be updated in the documentation?
  

It seems that the documentation should be updated to replace /home/sympe/expl/<list path>/ with /home/sympa/expl/<list path>/list_task_models/.




Archive powered by MHonArc 2.6.19+.

Top of Page