Koozali.org: home of the SME Server

cron / template weirdness

Pete the Feet

cron / template weirdness
« on: November 04, 2003, 07:45:12 PM »
Hiya

Just setting up a cron job to email out a specific report every day at 17:45 ....

... so, according to the guidance at http://www.e-smith.org/custom/ copied everything from

/etc/crontab/ to
/etc/e-smith/templates-custom/etc/crontab/

made my changes, then ran /sbin/e-smith/expand-template /etc/smb.conf

Did a reboot to make sure changes stick, and voila, they don't.

Re-read the guidance at http://www.e-smith.org/custom/ , searched these forums, currently sat scratching head ....

Anyone care to gently poke me in the right direction?

Pete

George Siegel

Re: cron / template weirdness
« Reply #1 on: November 04, 2003, 08:39:05 PM »
Pete the Feet wrote:
>
> > /etc/crontab/ to
> /etc/e-smith/templates-custom/etc/crontab/
>
> made my changes, then ran /sbin/e-smith/expand-template
> /etc/smb.conf
>
> Did a reboot to make sure changes stick, and voila, they don't.

Run /sbin/e-smith/expand-template /etc/crontab

You need to expand the template that you changed, not smb.conf

Pete the Feet

Re: cron / template weirdness
« Reply #2 on: November 04, 2003, 09:07:06 PM »
Thanks George.

That sorted it nicely.

PeTe