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:
-
Move to:
<drive>:\Enterworks\enable2020\services\install
-
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.
-
Edit
create-enable-channel-readiness-service.cmd
:
- 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.
- Save the script.
-
Use the
create-enable-channel-readiness-service.cmd
script.
-
Restart the
enable-channel-readiness-service
service.