Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Use ExcuteProcess to a shell script file

Solved Go to solution

Use ExcuteProcess to a shell script file

Contributor

Hi All,

Thanks a lot to this awesome community

I followed this article

https://community.hortonworks.com/articles/110097/use-excecuteprocess-processor-to-execute-shell-scr...

to run a shell script, the behavior as of now is that is running the command multiple times.

Can we control how many time the script should run?

Thanks

Dheeru

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Use ExcuteProcess to a shell script file

Super Guru

@dhieru singh

Yes we can control by using Scheduling tab in the processor.

You can use Scheduling strategy either Timer driven or Cron driven so that processor will run only at that specified time.

41524-executecommand.png

2 REPLIES 2

Re: Use ExcuteProcess to a shell script file

Super Guru

@dhieru singh

Yes we can control by using Scheduling tab in the processor.

You can use Scheduling strategy either Timer driven or Cron driven so that processor will run only at that specified time.

41524-executecommand.png

Re: Use ExcuteProcess to a shell script file

Contributor

@Shu Thanks I just did that before I saw this answer, it worked. Appreciate it. Using the website you refered yesterday http://www.cronmaker.com/

Thanks again

Don't have an account?
Coming from Hortonworks? Activate your account here