Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Upload

This option enables you to upload an .extarchive file containing the extension you want to add to CAST Extend local server. See Update CAST Extend local server with new content for more information:

When an .extarchive is uploaded, the packages are stored by default in:

Code Block
languagetext
%PROGRAMDATA%\CAST\Extend\packages


Synchronize

By default, the Synchronize action is performed automatically every two hours (at the time the server is first started), Monday to Friday: CAST Extend local server will contact CAST Extend and perform a manifest synchronization - the manifest is a list of all extensions that are currently available in CAST Extend. 

If required (for example a new extension has been released which is required immediately), you can manually perform the action using this Synchronize button. The button will force CAST Extend local server to contact CAST Extend and perform a manifest synchronization. When the button is pressed, the synchronize action starts (1):

Clicking the icon marked (2) above will show the progress of the synchronization process:

Manually configuring the synchronize action

As mentioned above, the synchronize action is performed automatically every two hours, Monday to Friday. If you would like to change this schedule (for example to include weekends or to reduce the frequency), you can do so starting from release 1.1.2-funcrel. To do so, locate and open the following file with a text editor:

Code Block
%PROGRAMFILES%\CAST\Extend\config.proxy.json
The "SYNC_INTERVAL" entry governs this automatic schedule - NULL is the default schedule, equal to a synchronization every two hours, Monday - Friday:
Code Block
languagexml
{
  "PORT": 8085,
  "STORAGE_DIR": "c:/ProgramData/CAST/Extend",
  "PACKAGE_DIR": null,
  "LOG_DIR": "C:/Program Files/CAST/Extend/logs",
  "PUBLIC_URL": "http://WIN10TEST:8085/",
  "EXTEND_URL": "https://extend.castsoftware.com",
  "APIKEY": "<api_key>",
  "ADMI": "admi1b878be2b185ff2ceada943c07b066c3bbfd9f9f5c5d931fe57da43e7b98dd4cad77ad4aacd95141ebb8b27d2edd666b5ab91f76cc95ae4b2e9c7c95121eb5322",
  "SYNC_TYPE": "auto"
  "SYNC_INTERVAL": null
}

This option will accept cron tab syntax, for example:

Code Block
languagexml
titleOnce per day at 0500 (5am), every day of the weekMonday - Friday:
{
  "PORT": 8085,
  "STORAGE_DIR": "c:/ProgramData/CAST/Extend",
  "PACKAGE_DIR": null,
  "LOG_DIR": "C:/Program Files/CAST/Extend/logs",
  "PUBLIC_URL": "http://WIN10TEST:8085/",
  "EXTEND_URL": "https://extend.castsoftware.com",
  "APIKEY": "<api_key>",
  "ADMI": "admi1b878be2b185ff2ceada943c07b066c3bbfd9f9f5c5d931fe57da43e7b98dd4cad77ad4aacd95141ebb8b27d2edd666b5ab91f76cc95ae4b2e9c7c95121eb5322",
  "SYNC_TYPE": "auto"
  "SYNC_INTERVAL": 0 05 * * 01-65
}


Code Block
languagexml
titleEvery 6 hours, on the hour, Monday to - Friday:
{
  "PORT": 8085,
  "STORAGE_DIR": "c:/ProgramData/CAST/Extend",
  "PACKAGE_DIR": null,
  "LOG_DIR": "C:/Program Files/CAST/Extend/logs",
  "PUBLIC_URL": "http://WIN10TEST:8085/",
  "EXTEND_URL": "https://extend.castsoftware.com",
  "APIKEY": "<api_key>",
  "ADMI": "admi1b878be2b185ff2ceada943c07b066c3bbfd9f9f5c5d931fe57da43e7b98dd4cad77ad4aacd95141ebb8b27d2edd666b5ab91f76cc95ae4b2e9c7c95121eb5322",
  "SYNC_TYPE": "auto"
  "SYNC_INTERVAL": 0 0-23/6 * * 1-5
}

When you have made your changes, save the file and then restart CAST Extend local server to ensure the new schedule is taken into account.

Info
  • CAST does not recommend scheduling a synchronization at a more regular frequency than every two hours.
  • CAST does not usually perform manifest changes at weekends therefore there is no need to schedule sychronization on Saturdays and Sundays.
  • If an extension release is required immediately, please use the manual Synchronization button.


...