Browse KB by category:
Go to KB #:
How do you configure the scheduler with XBRU?
Configuring the XBRU Scheduler
View the Open Source License for XBRU
The Scheduler for the BRU Graphical User Interface (XBRU) can be conveniently paired with cron to offer simple, hands-free backup management. The following illustrations will cover the utilization of cron in conjunction with XBRU by demonstrating how to create a crontab entry that will launch the XBRU Scheduler every five minutes. This will insure that all scheduled definitions are performed by the system at the proper times.
This process is not automatically performed when a scheduling a job with XBRU because many Linux/Unix administrators do not enjoy finding that Root's crontab has been modified without their knowledge. Therefore, to make sure that all changes to Root's crontab are known, this process must be done manually.
To begin, make certain that the login is "root" and then locate and note the location of the bruschedule file using the following Unix command:
The default location for this file is /usr/local/bin.
Before editing the actual crontab file, note that the editing command "crontab -e" (described below) uses the Unix editor vi by default. If an editor error appears when this command is executed, or if you wish to use a different editor, use the following command with the appropriate editor path:
If an alternate editor will be in use, substitute the proper editing commands for the vi commands listed below. Editor commands for vi and comments will be shown in standard Courier font. Commands to be entered at the user level will be shown in Courier bold. The hash mark (when shown in standard font - #) represents comments that should clarify the commands that are listed. Two possible entries will be illustrated. The first will work for most Linux systems and the second for most Un*x systems. To begin, issue the following command from the root command prompt:
If no crontab file currently exists, this will open a new crontab file. Otherwise, it will open the current crontab file in the default editor. Once the editor has been launched and the crontab file is open, use the following commands (assuming that the editor is vi) to edit the file:
<Shift>G - #[G]o to last line of file. This is not necessary if file is blank.
Add the following comment to define the operation of the crontab entry:
At the next line, enter the following syntax for Linux systems. Change path to bruschedule if applicable:
For most Un*x systems, the following line will work (be sure to start with 0 and end with 55). Change path to bruschedule if applicable:
Once this has been completed, the following command sequence will save the new crontab information and exit vi:
<Esc> - # Press the escape key to exit "insert" mode
From this point forward, cron should run the XBRU Scheduler at five minute intervals, allowing it to execute any saved backup definitions that have been scheduled. To modify the Scheduler, or if further information regarding the XBRU Scheduler interface is needed, see the XBRU on-line manual at:
|Others in this Category|
|How to use BRU with Autoloaders|
|Setting up an Autoloader to work with BRU - Method 1|
|Disable/Enable Hardware Compression When Using BRU|
|How do I use BRU with CRON?|
|Sample BRUTAB Settings|
|» More Articles|