FCF - Full Stack Javascript Framework
OpenSource is a full stack development framework designed to simplify the development of WEB projects of various complexity levels.
It is based on unique technologies that open up new opportunities in development approaches with NODEJS.
Revision | fd1b6b43cb076260b7fd0bb2d9e2337e30177a88 (tree) |
---|---|
Time | 2021-04-15 06:24:55 |
Author | Vladimir Markin <v.o.markin221@gmai...> |
Commiter | Vladimir Markin |
Configuring the startup cleanup of log files
@@ -7,7 +7,7 @@ | ||
7 | 7 | dependencies: [], |
8 | 8 | lazy: [], |
9 | 9 | module: function(){ |
10 | - fcf.application.getCron().append("Clearing log files", "*/1 * * * * master", async ()=>{ | |
10 | + fcf.application.getCron().append("Clearing log files", "0 1 * * * master", async ()=>{ | |
11 | 11 | let directory = fcf.getPath(fcf.getDirectory(fcf.application.getConfiguration().logFile)); |
12 | 12 | let filePrefix = fcf.getFileName(fcf.application.getConfiguration().logFile); |
13 | 13 | let files = await libUtil.promisify(libFS.readdir)(directory); |