diff --git a/CEO/backupSchemes.json b/CEO/backupSchemes.json index c84ae04..a1aa5b6 100644 Binary files a/CEO/backupSchemes.json and b/CEO/backupSchemes.json differ diff --git a/CEO/dirBackup.json b/CEO/dirBackup.json new file mode 100644 index 0000000..81978e6 --- /dev/null +++ b/CEO/dirBackup.json @@ -0,0 +1,3 @@ +{ + "path": "C:\\Users\\Andrei Cerbu\\Documents\\backup_dir" +} \ No newline at end of file diff --git a/CEO/dirShare.json b/CEO/dirShare.json new file mode 100644 index 0000000..d1863bc --- /dev/null +++ b/CEO/dirShare.json @@ -0,0 +1,3 @@ +{ + "path": "C:\\Users\\Andrei Cerbu\\Documents\\share_dir" +} \ No newline at end of file diff --git a/CEO/jobs/fetcher.js b/CEO/jobs/fetcher.js index 9d91cc2..45bb116 100644 --- a/CEO/jobs/fetcher.js +++ b/CEO/jobs/fetcher.js @@ -201,7 +201,7 @@ decryptAndGetServerIP(path.join(__dirname, '..', 'ipConfig.json')).then(ip => { serverIp = ip; }); -const timeoutInterval = 6 * 60 * 1000 //minutes * seconds * miliseconds +const timeoutInterval = 1 * 20 * 1000 //minutes * seconds * miliseconds setInterval(() => { fetchUsersAndDepartments(serverIp); diff --git a/CEO/usersInSystem.json b/CEO/usersInSystem.json index 9069ec4..e24f07d 100644 Binary files a/CEO/usersInSystem.json and b/CEO/usersInSystem.json differ diff --git a/User/jobs/fetcher.js b/User/jobs/fetcher.js index 59ea3b3..d497cb1 100644 --- a/User/jobs/fetcher.js +++ b/User/jobs/fetcher.js @@ -201,7 +201,7 @@ decryptAndGetServerIP(path.join(__dirname, '..', 'ipConfig.json')).then(ip => { serverIp = ip; }); -const timeoutInterval = 6 * 60 * 1000 //minutes * seconds * miliseconds +const timeoutInterval = 1 * 20 * 1000 //minutes * seconds * miliseconds setInterval(() => { fetchUsersAndDepartments(serverIp); diff --git a/User/usersDestTemp.json.enc b/User/usersDestTemp.json.enc new file mode 100644 index 0000000..e69de29