标签: .net server cron crash auto
我有Ubuntu服务器18.04。我已经配置了这样运行的应用程序(net core 2.1.806应用程序): “ setsid nohup dotnet Server.dll”
该应用程序有时会崩溃,我必须运行以上命令才能再次运行服务。有什么想法吗?如果此应用程序崩溃,它将自动运行“ setsid nohup dotnet Server.dll”命令,并通过邮件通知我。预先感谢。