diff --git a/zeppelin-web/src/app/notebook/notebook-actionBar.html b/zeppelin-web/src/app/notebook/notebook-actionBar.html index f371bd318a8..21f7e9754d8 100644 --- a/zeppelin-web/src/app/notebook/notebook-actionBar.html +++ b/zeppelin-web/src/app/notebook/notebook-actionBar.html @@ -131,6 +131,13 @@

{{note.info.cron}}

+
+ - Cron executing user (click enter in field to submit) + +
- auto-restart interpreter on cron execution > generateParagraphsInfo (){ * Run all paragraphs sequentially. */ public void runAll() { + String cronExecutingUser = (String) getConfig().get("cronExecutingUser"); synchronized (paragraphs) { for (Paragraph p : paragraphs) { if (!p.isEnabled()) { continue; } + AuthenticationInfo authenticationInfo = new AuthenticationInfo(); + authenticationInfo.setUser(cronExecutingUser); + p.setAuthenticationInfo(authenticationInfo); p.setNoteReplLoader(replLoader); p.setListener(jobListenerFactory.getParagraphJobListener(this)); Interpreter intp = replLoader.get(p.getRequiredReplName());