-
I use mo.ui.refresh to periodically execute a function, insert the results into SQLite, and display them using a select query. However, the notebook stops running after I close the browser page。How to keep the script running after closing the browser? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can do this with a bit of a hack and state, but I would not recommend it. We heavily suggest people refrain from state because of the hammer and nail syndrome. Are you looking for regular intervals or more like a cron job? |
Beta Was this translation helpful? Give feedback.
-
I found a way,from apscheduler.schedulers.background import BackgroundScheduler |
Beta Was this translation helpful? Give feedback.
I found a way,from apscheduler.schedulers.background import BackgroundScheduler