This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Start zookeeper : | |
## started with nohup and output directed to zookper-logs.log | |
nohup bin/zookeeper-server-start config/zookeeper.properties > ~/workspace/logs/zookper-logs.log & | |
#Stop zookeeper | |
bin/zookeeper-server-stop | |
#stop a service(connect, schema register, server etc) using conflunet packge | |
bin/confluent-stop <service> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List < CronTrigger > listCronTrigger = [select Id from CronTrigger LIMIT 150]; | |
If(listCronTrigger.size() > 0) { | |
For(Integer i = 0; i < listCronTrigger.size(); i++) { | |
System.abortJob(listCronTrigger[i].Id); | |
} | |
} |