Skip to main content
wert_1311
Gold ⭐️
February 1, 2024
Solved

CDE CLI Date argument

Hi,

I require some assistance with CDP -PC CDE cli command. What I am trying to achieve is to run cde jobs via cde cli with the current days date.
My command line is - cde job run --name generate_post_view --vcluster-endpoint https://my.cluster.com/dex/api/v1 --user my.user_id Would need assistance on how to pass date argument in this command line so that I don’t have to go to CDE UI and edit the date for running every job.

Appreciate any help in this

Thanks 

smdas
smdasAnswer
Gold ⭐️⭐️
April 16, 2024

Hello @wert_1311 

Thanks for using Cloudera Community.

May I know if your Team have used the "--arg" Flags of CDE Job Run Command. The same would meet the requirement. You may run "cde job run --help" to fetch all available Flags. 

- Smarak

2 replies

smdas
Gold ⭐️⭐️
smdasAnswer
Gold ⭐️⭐️
April 16, 2024

Hello @wert_1311 

Thanks for using Cloudera Community.

May I know if your Team have used the "--arg" Flags of CDE Job Run Command. The same would meet the requirement. You may run "cde job run --help" to fetch all available Flags. 

- Smarak

Translate
smdas
Gold ⭐️⭐️
Gold ⭐️⭐️
May 1, 2024

Hello @wert_1311 

We hope the above Post has answered your Q. We shall mark the Post as Resolved. If your Team continue to have any concerns, Feel free to Update the Post & We shall get back to your Team accordingly.

- Smarak

Translate