To schedule Documentation Generation on a model version,

  1. Right-click on the model version and select Schedule>Documentation generation.
  2. Select the purpose of the generation and click Next.
  3. Go through the various screens relevant to the option chosen above, then select the output location and click Schedule.
  4. WhereScape 3D generates the Scheduling command to be run.
    • Selecting the RED host script checkbox defines the Command as a RED host script and the drop-down list enables you to select between a RED Windows Host Script or a RED Linux Host Script.

      Using Copy and Paste, you can create a host script in RED, which can then be run via the RED Scheduler. Refer to the WhereScape RED User Guide for more details.
    • Use Cron expression when you are running the command on a Unix box. Click on the Calculate button and select the relevant options to select the cron interval, then click OK.

      The cron expression is displayed in the dialog.

      Click OK to close.
    • Use Schtasks expression when you are running the command in Windows. Click on the Calculate button and select the relevant options to select the schtasks interval, then click OK.

      The schtasks expression is displayed in the dialog.

      Click OK to close.

Note

You will need to close 3D when you run from the command line.

For example:
The scheduling command can be copied into Notepad and saved as command.bat.
 
The Schtasks expression can then be used to run command.bat from the command line.

  • No labels