Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: wezzy on June 05, 2006, 11:41:46 AM

Title: crontab
Post by: wezzy on June 05, 2006, 11:41:46 AM
Hi

I want to add this:
Quote
*/5 * * * * cron.loopiadns.sh
to my crontab. But it gets lost when the file is regenerated. How do I do that?

Please, someone...
Title: Re: crontab
Post by: cactus on June 05, 2006, 12:10:46 PM
Quote from: "wezzy"
Hi

I want to add this:
Quote
*/5 * * * * cron.loopiadns.sh
to my crontab. But it gets lost when the file is regenerated. How do I do that?

Please, someone...
Changes to the crontab file have to be made in the /etc/e-smith/templates-custom/etc/crontab/ directory. Read the developers guide about the templating system (http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html#TEMPLATES). If you do add your changes directly to the configuration files they will be overwritten the next time changes are made to your configuration.