Skip to main content.
Index | Support | Documentation | FAQ

How Do I ... Run a Validation Automatically

There is a validation option on the General Application -> Validation menu that will check all your files for 'common' problems and make the required changes. Generally you will be manually running this once a month - Why are you running it manually ?

Running it Automatically has a few benefits:

How do you do it?

As of the June 2002 release on Premvet this can be done via the automation manager on the General Applications menu. You should use this rather than the manual method below.

Either log in as vet and get to a $ or Vet> prompt or login as root and at the # prompt type su vet

Type the following: (The number on the the left are for reference)

[1]$ crontab > .cronfile
[2]$ vi/ste/pico .cronfile
[3] 10 0 28 * * /usr/local/bin/vet -p valid
[4]$ crontab .cronfile
[1] Note: If you get 'cannot create' then don't worry this just means you do not have anything currently setup.
[2] Use whatever editor you are happy with and
[3] Add in a line with the times, then Save the file and exit the editor

That's it, now at 10 past midnight on the 28th of every month a validation will take place.

Note: Don't leave any blank lines in the .crontab file as it won't work !!!.