Skip to content

istex/istex-qid-ttl

Repository files navigation

istex-qid-ttl

ezmaster app used to keep ISTEX q_id alive. It periodically auto-request ISTEX API to reset TTL (which is today 180 days on production API)

Prerequisites

Usage

  • Add the application in your ezmaster then create a new instance on this application

  • Then, open the configuration of the created instance in your ezmaster and insert your wanted parameters:

    {
      "crontab" : {
        "when": "0 4 * * *",
        "qids" : [
          {
            "q_id": "...",
            "comment": "description of the content"
          },
          ...
        ]
      }
    }

    To enable docker logging, you can set the crontab.options.silent to false. Having log is usefull at the begining to setup the stuff.

    You can also change crontab.when (crontabl syntax) if you do not want the script be run too often. Ex: "0 4 * * *" will run the command each day at 04:00 AM by default.

About

An EzMaster tool for keeping ISTEX q_id alive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published