teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 0 forks source link

Show which user has scheduled the cron #170

Closed kortemik closed 12 months ago

kortemik commented 1 year ago

ID <271> Reporter <@StrongestNumber9>

It is available for javascript with

angular.element(document.querySelector('span.fa-clock')).scope().note.config.cronExecutingUser 

And it is in the notebook information

  "config": {
    "isZeppelinNotebookCronEnable": true,
    "looknfeel": "default",
    "personalizedMode": "false",
    "cronExecutingUser": "q000009a",
    "cronExecutingRoles": "[\"sysadmins\"]",
    "cron": "0 0/1 * * * ?"
  },

By far not urgent, but could be useful to have as we have the information available in JS already