Koozali.org: home of the SME Server

Crontab in sme6.0 - customising

aussie

Crontab in sme6.0 - customising
« on: February 11, 2004, 12:50:43 AM »
I usually much with /etc/crontab until I get what I want, then mirror the changes into /etc/e-smith/templates/etc/crontab to keep them during regeneration.

Lines I add to the end I put in the template-end,
BUT sme6.0 has NO template-end ot begin!!

what gives? where are they or what substitutes for them?

TIA ROb  :pint:

Offline brianr

  • *
  • 990
  • +2/-0
Crontab in sme6.0 - customising
« Reply #1 on: February 11, 2004, 11:05:51 AM »
Looks as though all the template-end files have gone, perhaps they were surplus to requirements!

you should really create your own file in  

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

(create it if it is not there)

and then the

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

will merge the standard ones and the "custom" ones, and they will be preserved across re-boots and upgrades.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Anonymous

Crontab in sme6.0 - customising
« Reply #2 on: February 11, 2004, 11:12:25 AM »
Quote from: "brianr"
Looks as though all the template-end files have gone, perhaps they were surplus to requirements!


Hmmm ....
if they are now surplus they must be appearing from 'within' sme somewhere, whereas before they were clearly part of the 'obvious' build process - interesting!

Thanks for the idea Brian - true we can create an additional template but I still wonder at the structure change 'hiding' components.

Thanks again Brian ,
kind regards Rob