Long running background job?

I would like to create an app for launching long-running jobs that could take many hours to finish.

Is this possible? While there are other posts about asynchronous jobs, and I believe session state can be shared across app runs. So, it appears that one could start a long running job and then reload the app later to check on the progress of the job. However, thereโ€™s not much in regards to docs on running background jobs that could last longer than a single session.

App reload loses the session.

But you can launch a long running job.

My sample long-running analysis.

Thanks! Can you point me to the source code?

Sorry I am not sharing the source code for this at this time.