Schedule Channel Readiness Automatic Statistics Updates - Precisely_EnterWorks - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997000
When a Channel is updated or a Channel's records are updated, the Channel's Statistics must be updated so they are displayed accurately. EnterWorks can be configured to automatically update Channel Statistics on a schedule. To schedule automatic Channel Statistics updates:
  1. Move to:
    
                <drive>:\Enterworks\enable2020\services\install
  2. Back up create-enable-channel-readiness-service.cmd by copying it to:
    
                <drive>:\Backup
    To facilitate troubleshooting, append the datetime to the end of the filename of the backup file.
  3. Edit create-enable-channel-readiness-service.cmd:
    1. Set the following parameters. If they are not present in the script, add them:
      -enableCron=true ^
      -crCronTime="<cron-expression>" ^
      where <cron-expression> follows the format for cron scheduling expressions. For example, the default setting for crCronTime is:
      -crCronTime="0 30 2 * * *"
      which schedules the job to run at 2:30 AM every day.
    2. Save the script.
  4. Use the create-enable-channel-readiness-service.cmd script.
  5. Restart the enable-channel-readiness-service service.