Pluto.jl icon indicating copy to clipboard operation
Pluto.jl copied to clipboard

Automatically shut down inactive notebooks

Open BioTurboNick opened this issue 1 year ago • 3 comments

When using Pluto on a shared server, it's common for people to leave notebooks running after they don't need them.

It would be nice to be able to automatically close notebooks that have been idle for a set time. Perhaps through an argument passed to the run method.

BioTurboNick avatar Aug 01 '22 14:08 BioTurboNick

@pankgeorg is this something that can currently be built with Pluto events ?

Pangoraw avatar Aug 10 '22 13:08 Pangoraw

Yes of course! There are many events that can be used (like save or run) but what does idle mean? No bond interaction or no web view? The latter would be harder (but we could implement a new event, like OnZeroConnectedClients or something)

pankgeorg avatar Aug 10 '22 13:08 pankgeorg

No bond interaction/no cells executed would be reasonable for my needs.

BioTurboNick avatar Aug 10 '22 13:08 BioTurboNick