Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Pete the Feet on November 04, 2003, 07:45:12 PM

Title: cron / template weirdness
Post by: Pete the Feet 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
Title: Re: cron / template weirdness
Post by: George Siegel 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
Title: Re: cron / template weirdness
Post by: Pete the Feet on November 04, 2003, 09:07:06 PM
Thanks George.

That sorted it nicely.

PeTe