| Cross Updating | Release Notes | Doc Center | FAQ's | Manual |
Sending to Remote (x_send)
Once we have the data we want to transfer we need to pass control over to
Unix to allow it to handle the security aspects as well as determining the best
method of 'talking' to the other machines. This is accomplished by a program called 'x_send', which has to :
The sending program will usually be run automatically for you. If you do need to run it manually there is an option on xmenu to start it.
Note: xmenu will be explained shortly in the next section.
Checking for work being present (x_check)
During the course of the day (or night) UUCP will be sending information
into your machine. Work that UUCP transfers will be stored in a special area of
the disk called a 'spool directory' until it is needed. The checking program
will look in the spool directory and if there is work present, it will
transfer it to the area of the disk used by Premvet 5.
The checking program (called x_check) has to:
In a similar manner to x_send, this checking program will be run automatically (usually every 30 minutes) but can be run manually via xmenu.
Both x_check and x_send are utilities run either from xmenu or from the Operating System prompt line. Having to remember to run these programs can be unreliable (someone forgets to type them in) and impractical (you want to update at 2am). Rather than get a user to run them we can get the computer to do it automatically. A utility called 'cron' can be given a list of jobs to carry out at specified times. Cron is running all the time in the 'background'; that is, it starts automatically and operates without user intervention and without tying up a screen.
So, we work out the times we want x_send and x_check to run, tell cron and then forget about it. Setting up cron is explained in the next section. But first, you need to think about the times you want to use. This is also affected by the cross-over of clients. If it is unlikely that clients will attend both sites on the same day it makes sense to transfer the information overnight to take advantage of cheap phone rates. Otherwise, you will have to schedule the transfers between surgery times.
|
|
|