Run multiple cronjobs sequentially in hadoop

There are 2 shell scripts, test.sh & execute.sh. Once the test.sh has completed execution then I need to run execute.sh sequentially. execute.sh must not be triggered until test.sh has not executed successfully. execute.sh takes one parameter i.e properties file /user/abc/config.properties. I need to run this every one hour recursively. How to do it?


Source: unix

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.