Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Jesper Knudsen on January 06, 2003, 06:35:02 PM
-
I have used the expand-template many times before but it seems to not function anymore. The below set of commands should insert an entry in the crontab file but it doesn't. I am running 5.5 with Update2
Any clues ?
[root@e-smith ]# mkdir -p /etc/e-smith/templates-custom/etc/crontab/
[root@e-smith ]# echo "0-59/5 * * * * root /etc/mrtg/all-ip" > /etc/e-smith/templates-custom/etc/crontab/mrtg
[root@e-smith ]# /sbin/e-smith/expand-template /etc/crontab
Rgds,
Jesper
-
tail /var/log/messages will tell you if you have a systax error
-
I have looked at this (from the server manager though) and it contains no entries that has anything to do with expand-template. It's full of DHCP requests and others but nothing I can use.
Any other places I can search for a clue ?
-
aha - some how or another the file "expand-templates" was zeroed. No wonder nothing happened. Having replaced with another from another server fixed the problem.