39 Star 222 Fork 51

chuanjiao10 / kasini3000

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
u库定时任务_进程级别_缓存进程_读pid.ps1 485 Bytes
一键复制 编辑 原始数据 按行查看 历史
#建议保存编码为:bom头 + utf8
#
$log日志文件全目录 = "${global:kasini3000_data_path}"
if (Test-Path -LiteralPath $log日志文件全目录)
{
$u库定时任务的pid文件 = "$log日志文件全目录/u库_进程级别_缓存进程_pid.txt"
if (Test-Path -LiteralPath $u库定时任务的pid文件)
{
$upid = Get-Content -LiteralPath $u库定时任务的pid文件
return $upid
}
}
else
{
Write-Error '找不到日志文件目录'
exit 1
}
exit 0
PowerShell
1
https://gitee.com/chuanjiao10/kasini3000.git
git@gitee.com:chuanjiao10/kasini3000.git
chuanjiao10
kasini3000
kasini3000
master

搜索帮助