How to get job launch type in notebook

Lucifer
New Contributor

I want to get job launched status in notebook if it is launched by scheduler or manually

I tried using JobTriggerType property of notebook context but it gives only manual and repair but not by scheduled

dbutils.notebook.entry_point.getDbutils().notebook().getContext().toJson()