bugy / script-server

Web UI for your scripts with execution management
Other
1.61k stars 249 forks source link

Script Logging #770

Open dragonborn117 opened 2 months ago

dragonborn117 commented 2 months ago

Hi, I have a couple scripts that I dont want the output saved anywhere. I'm ok with being aware a script was run in logging, but I dont want the output saved anywhere locally. That includes if a file needs to be downloaded. Obviously i'm ok the user downloads the file but I dont want a local copy saved of the file.

Thanks.

bugy commented 2 months ago

Hi @dragonborn117 unfortunately this is not possible. You can add a callback to script server, which would remove the files after a script is finished, see for the usage. https://github.com/bugy/script-server/issues/200#issuecomment-478363470