• R/O
  • SSH

fcf: Commit

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.


Commit MetaInfo

Revisionfd1b6b43cb076260b7fd0bb2d9e2337e30177a88 (tree)
Time2021-04-15 06:24:55
AuthorVladimir Markin <v.o.markin221@gmai...>
CommiterVladimir Markin

Log Message

Configuring the startup cleanup of log files

Change Summary

Incremental Difference

diff -r 6a8bca907297 -r fd1b6b43cb07 NSystem/loggingTasks.js
--- a/NSystem/loggingTasks.js Thu Apr 15 00:22:25 2021 +0300
+++ b/NSystem/loggingTasks.js Thu Apr 15 00:24:55 2021 +0300
@@ -7,7 +7,7 @@
77 dependencies: [],
88 lazy: [],
99 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 ()=>{
1111 let directory = fcf.getPath(fcf.getDirectory(fcf.application.getConfiguration().logFile));
1212 let filePrefix = fcf.getFileName(fcf.application.getConfiguration().logFile);
1313 let files = await libUtil.promisify(libFS.readdir)(directory);
Show on old repository browser