RStudio Connect scheduled vs manual execution

Hi (R)-Developers,

I have a RMarkdown report scheduled (once a month) on RStudio Connect. There is also the possibility to start the report manually.

Is there a way to determine in the code, if the execution was started manually or as a scheduled run?

Thanks for your help!