From 414bbbd71ef48b3e8da072d7d5b457f9dca6c898 Mon Sep 17 00:00:00 2001 From: vat_emp Date: Tue, 28 Mar 2023 11:59:09 +0200 Subject: [PATCH] fix new task --- scripts/{ => share_server}/git_push_cronjob.ps1 | 0 scripts/{ => share_server}/read_scr.bat | 0 scripts/{ => share_server}/write_scr.bat | 0 scripts/{ => shared_sw}/task_fix.ps1 | 2 +- scripts/{ => shared_sw}/task_setup.ps1 | 0 scripts/test.ps1 | 6 ------ test.sh | 3 --- test.txt | 0 8 files changed, 1 insertion(+), 10 deletions(-) rename scripts/{ => share_server}/git_push_cronjob.ps1 (100%) rename scripts/{ => share_server}/read_scr.bat (100%) rename scripts/{ => share_server}/write_scr.bat (100%) rename scripts/{ => shared_sw}/task_fix.ps1 (67%) rename scripts/{ => shared_sw}/task_setup.ps1 (100%) delete mode 100644 scripts/test.ps1 delete mode 100644 test.sh delete mode 100644 test.txt diff --git a/scripts/git_push_cronjob.ps1 b/scripts/share_server/git_push_cronjob.ps1 similarity index 100% rename from scripts/git_push_cronjob.ps1 rename to scripts/share_server/git_push_cronjob.ps1 diff --git a/scripts/read_scr.bat b/scripts/share_server/read_scr.bat similarity index 100% rename from scripts/read_scr.bat rename to scripts/share_server/read_scr.bat diff --git a/scripts/write_scr.bat b/scripts/share_server/write_scr.bat similarity index 100% rename from scripts/write_scr.bat rename to scripts/share_server/write_scr.bat diff --git a/scripts/task_fix.ps1 b/scripts/shared_sw/task_fix.ps1 similarity index 67% rename from scripts/task_fix.ps1 rename to scripts/shared_sw/task_fix.ps1 index d4038fd..5ffdbb8 100644 --- a/scripts/task_fix.ps1 +++ b/scripts/shared_sw/task_fix.ps1 @@ -5,4 +5,4 @@ $path2 = "VAT-Software" $fullPath = Join-Path $path $path2 -schtasks /create /sc minute /mo 15 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'" \ No newline at end of file +schtasks /create /sc minute /mo 5 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'" \ No newline at end of file diff --git a/scripts/task_setup.ps1 b/scripts/shared_sw/task_setup.ps1 similarity index 100% rename from scripts/task_setup.ps1 rename to scripts/shared_sw/task_setup.ps1 diff --git a/scripts/test.ps1 b/scripts/test.ps1 deleted file mode 100644 index 1b2a57c..0000000 --- a/scripts/test.ps1 +++ /dev/null @@ -1,6 +0,0 @@ -$path = [Environment]::GetFolderPath("MyDocuments") -$path2 = "VAT-Software" - -$fullPath = Join-Path $path $path2 - -schtasks /create /sc minute /mo 15 /tn "Git pull" /tr "PowerShell $fullPath'\cron.ps1'" \ No newline at end of file diff --git a/test.sh b/test.sh deleted file mode 100644 index 7e3d60f..0000000 --- a/test.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -ggagwagwgwawa \ No newline at end of file diff --git a/test.txt b/test.txt deleted file mode 100644 index e69de29..0000000