DKU Currency Conversion Rates - Daily Update Scenario

r_clayton
Level 1
DKU Currency Conversion Rates - Daily Update Scenario

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

0 Kudos
3 Replies
r_clayton
Level 1
Author

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

 

0 Kudos

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

0 Kudos