Hey thanks. Yes that seems to work. I trying it on crontab.
Here is how I did it for any novice at this and trying to understand it.
How to set up a test template file on crontab for exampleCopy /etc/crontab to /etc/crontab.test
Copy /etc/e-smith/templates/etc/crontab directory to /etc/e-smith/templates/etc/crontab.test
Create a file named anything you like but that starts with 25. Eg 25templatetest
Put in the file (based on “Changing a configuration template” instructions in
http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html#TEMPLATES) the following line
*/20 * * * * root /usr/bin/logger -t "Demo" "......"or any properly formulated cron command.
Now type and execute the following command
/sbin/e-smith/expand-template /etc/crontab.testTake a look at the file /etc/crontab.test this will have your changed data in it.
Thanks so far so good.