Koozali.org: home of the SME Server

Crontab

pippin

Crontab
« on: April 25, 2006, 12:32:56 PM »
i have innstalled norman viruscontroll beside clamav
And have set up a cronjob for norman to update and scan folders,but everytime the cronjob goes to basic so i wonder if its something to do with updates ?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Crontab
« Reply #1 on: April 25, 2006, 02:55:40 PM »
Quote from: "pippin"
i have innstalled norman viruscontroll beside clamav
And have set up a cronjob for norman to update and scan folders,but everytime the cronjob goes to basic so i wonder if its something to do with updates ?


I don't know what "the cronjob goes to basic" means, and I guess other readers have the same problem. What exactly do you see which is not what you expect to see?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Crontab
« Reply #2 on: April 25, 2006, 03:21:33 PM »
Quote from: "pippin"
i have innstalled norman viruscontroll beside clamav
And have set up a cronjob for norman to update and scan folders,but everytime the cronjob goes to basic so i wonder if its something to do with updates ?


I guess you did modify the configuration file directly, but it is built from templates. All original templates are in the /etc/e-smith/templates folder. Modifications should be done by making a copy of the file to the /etc/e-smith/templates-custom/ directory.

After you have made your modifications you will have to expand your template and reload the services (or if you don't know which service, just do a reboot).

By using the template system changes you have made will be backed-up and will also stay after other configuration changes. For more details have a look here: Configuration file templates in the WIKI.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

pippin

Crontab
« Reply #3 on: April 25, 2006, 04:36:07 PM »
i have now copy the crontab to /etc/e-smith/templates-custom with the changes and have reboot the server.Is this the right thing to do?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Crontab
« Reply #4 on: April 26, 2006, 11:40:31 AM »
Quote from: "pippin"
i have now copy the crontab to /etc/e-smith/templates-custom with the changes and have reboot the server.Is this the right thing to do?

It is almost correct...
[list=1]
  • Make a copy of the file structure needed for the template in the /etc/e-smith/templates-custom/ folder (OK: As you did this)
  • Make the neccesarry changes to the copied files (OK?: Not sure if you did that)
  • expand the configuration files so the changes you made are reflected (make sure you use the path of the actual configuration file so not the copies in the template folder):
    Code: [Select]
    expand-template /etc/path/to/config/file(NOK: As it seems you have forgotten this step)
  • To verify if your changes were made view the file
    Code: [Select]
    cat /etc/path/to/config/file
  • If the configuration changes are reflected in the expanded configuration file then restart the neccessary services or just to be sure reboot the server to be sure.[/list:o]
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)