Support Questions

Find answers, ask questions, and share your expertise

CDE CLI Date argument

avatar
Expert Contributor

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 

2 ACCEPTED SOLUTIONS

avatar
Super Collaborator

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

View solution in original post

avatar
Super Collaborator

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

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

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

avatar
Super Collaborator

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