sendmail 별도의 프로세스로 분리하고 클라우드서버에서 실행함
This commit is contained in:
@@ -90,18 +90,8 @@ namespace Project
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
////close redis
|
||||
//if (this.redisConnection != null && this.redisConnection.IsConnected && this.db != null)
|
||||
//{
|
||||
// this.redisConnection.Close();
|
||||
// this.redisConnection.Dispose();
|
||||
//}
|
||||
|
||||
Pub.log.Add("Program Close");
|
||||
Pub.log.Flush();
|
||||
bBW = false; //backgroundWorker
|
||||
if (bw.IsBusy) bw.CancelAsync();
|
||||
}
|
||||
|
||||
//ConnectionMultiplexer redisConnection;
|
||||
@@ -160,17 +150,7 @@ namespace Project
|
||||
|
||||
Func_Login();
|
||||
|
||||
//if (Pub.setting.SharedDataPath.isEmpty() && FCOMMON.info.Login.gcode == "EET1P") //210524
|
||||
//{
|
||||
// var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
|
||||
// FCOMMON.info.datapath = @"\\k4fs3201n\k4bpartcenter$";
|
||||
// Pub.setting.SharedDataPath = FCOMMON.info.datapath;
|
||||
// Pub.setting.Save();
|
||||
//}
|
||||
|
||||
|
||||
Update_Site();
|
||||
bw.RunWorkerAsync(); //background worker
|
||||
UpdateControls();
|
||||
|
||||
//사용기록추적
|
||||
@@ -1446,15 +1426,15 @@ namespace Project
|
||||
menu_projecTU_list();
|
||||
}
|
||||
|
||||
private void bwrunToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
bw_DoWork(null, null);
|
||||
}
|
||||
//private void bwrunToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// bw_DoWork(null, null);
|
||||
//}
|
||||
|
||||
private void 휴가REMINDToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Mail_Take_a_rest_remind();
|
||||
}
|
||||
//private void 휴가REMINDToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// Mail_Take_a_rest_remind();
|
||||
//}
|
||||
|
||||
private void 개인별근태집계표ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user