Community

Docker re-create with cron

Ma
Master3395 #1

Hello.

I am trying to think of an easy way to re-create and execute (Start) the docker every 24 hours.
If there is a way at all.

I have a project, that seems to log too much stuff (Unintentionally) sadly I can’t disable it.
But by re-creating the docker container it clears the log file.

Is there any way to do so with CyberPanel?

sh
shoaibkk #2

This is something hard to do from corn it is tough and critical thing to do

Sign in to reply