I have created a new entry for the crontab file, templated it and expanded the template, but it doesn't seem to work. Here is an example of a test entry:
------- /etc/e-smith/templates-custom/etc/crontab/test -------
40 6 * * * echo test > /tmp/kees.tst
--------------------------------------------------------------
> /sbin/e-smith/expand-template /etc/crontab
A quick look at /etc/crontab shows that the test entry is now there, however at 6:40 nothing happens, I do not get a /tmp/kees.tst file. What am I doing wrong?
Kees
PS. I noticed that 'crontab -l' says 'no crontab for root'