提交:新增Redis固定写时间,确认活跃
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"dotnet.preferCSharpExtension": true
|
||||||
|
}
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
</WebStackScaffolding_LayoutPageFile>
|
</WebStackScaffolding_LayoutPageFile>
|
||||||
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
|
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
|
||||||
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
|
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
|
||||||
<NameOfLastUsedPublishProfile>E:\Project_Class\OLD_PROJECT\Faces_Web_Prod\Face.Web\Properties\PublishProfiles\FolderProfile3.pubxml</NameOfLastUsedPublishProfile>
|
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
|
||||||
<View_SelectedScaffolderID>MvcViewScaffolder</View_SelectedScaffolderID>
|
<View_SelectedScaffolderID>MvcViewScaffolder</View_SelectedScaffolderID>
|
||||||
<View_SelectedScaffolderCategoryPath>root/Common/MVC/View</View_SelectedScaffolderCategoryPath>
|
<View_SelectedScaffolderCategoryPath>root/Common/MVC/View</View_SelectedScaffolderCategoryPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -319,9 +319,11 @@ namespace Face.Web
|
|||||||
Schedule(() =>
|
Schedule(() =>
|
||||||
{
|
{
|
||||||
string batFilePath = "C:\\FaceConsole\\重启.bat"; ;
|
string batFilePath = "C:\\FaceConsole\\重启.bat"; ;
|
||||||
var rs = CSRedisCacheHelper.Get<string>("CSRedisCacheHelper");
|
var rs = CSRedisCacheHelper.Get<string>("LastWebCmdTime");
|
||||||
if (rs == null)
|
Logs.WriteTimingUDPLog("执行定时任务--LastWebCmdTime" + rs);
|
||||||
|
if (string.IsNullOrEmpty(rs))
|
||||||
{
|
{
|
||||||
|
Logs.WriteTimingUDPLog("启动--LastWebCmdTime" + rs);
|
||||||
Process.Start(new ProcessStartInfo()
|
Process.Start(new ProcessStartInfo()
|
||||||
{
|
{
|
||||||
FileName = batFilePath,
|
FileName = batFilePath,
|
||||||
|
|||||||
Reference in New Issue
Block a user