diff --git a/discord/report_new_matches.ps1 b/discord/report_new_matches.ps1 index 91a2253..aa73f3d 100644 --- a/discord/report_new_matches.ps1 +++ b/discord/report_new_matches.ps1 @@ -1,4 +1,5 @@ -Start-Transcript -Path '/var/log/dtch/report_new_matches.log' -Append +$logprefix = get-date -Format ddMMyyy_HHmmss +Start-Transcript -Path "../logs/report_new_matches_$logprefix.log" -Append if ($PSScriptRoot.length -eq 0) { $scriptroot = Get-Location diff --git a/logs/REAMD.MD b/logs/REAMD.MD new file mode 100644 index 0000000..940fe81 --- /dev/null +++ b/logs/REAMD.MD @@ -0,0 +1 @@ +Location for logs \ No newline at end of file