DKU Currency Conversion Rates - Daily Update Scenario

Options
r_clayton
r_clayton Registered Posts: 2
edited July 16 in Using Dataiku

Hello,

I would like to understand if it is possible to schedule the execution of the currency conversion rate update command from within DSS itself.

Shell Command:

./bin/dku update-currency-rates


Ideally, I would like to trigger this process using a Shell recipe and store the output to a simple log file for the purpose of visibility. This scenario would ultimately be scheduled in a Dataiku scenario to ensure the process is ran at a consistent timeframe each and every day. This project could be locked down to a project administrator since it represents a platform maintenance type of activity.

Is this a viable solution to ensure daily updates of the currency conversion?

Thanks!


Operating system used: AlmaLinux

Answers

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,757 Neuron
    Options
  • r_clayton
    r_clayton Registered Posts: 2
    edited July 17
    Options

    Thanks for the response. Is this something that you have implemented in your environment?

    I am running into an error within our environment:

    [14:32:40] [INFO] [dku.utils]  - Exception in thread "main" java.lang.RuntimeException: DIP properties config file does not exist
    [14:32:40] [INFO] [dku.utils]  -     at com.dataiku.dip.DKUApp.loadProperties(DKUApp.java:78)
    [14:32:40] [INFO] [dku.utils]  -     at com.dataiku.dip.DKUApp.setBaseFolder(DKUApp.java:38)
    [14:32:40] [INFO] [dku.utils]  -     at com.dataiku.dip.ApplicationConfigurator.autoconfigure(ApplicationConfigurator.java:34)
    [14:32:40] [INFO] [dku.utils]  -     at com.dataiku.dip.cli.DKU.main(DKU.java:156)
    [14:32:40] [INFO] [dku.utils]  - 2024-04-17 14:32:40,758 2248374 INFO [Child] Process 2248376 exited with exit=1 signal=0
    [14:32:40] [INFO] [dku.utils]  - 2024-04-17 14:32:40,758 2248374 INFO Full child code: 1

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,757 Neuron
    Options

    Works for me fine in my Shell recipe. Is it running under the DSS user identity?

    Screenshot 2024-04-17 at 18.19.01.png

Setup Info
    Tags
      Help me…