ow
This commit is contained in:
parent
871de41ba5
commit
4ea68c801f
@ -33,7 +33,7 @@ public partial class Program
|
|||||||
string taskName = null;
|
string taskName = null;
|
||||||
Dictionary<string, string> bodyDict = new Dictionary<string, string>();
|
Dictionary<string, string> bodyDict = new Dictionary<string, string>();
|
||||||
|
|
||||||
File.AppendAllText("log.txt", "Main:" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
|
//File.AppendAllText("log.txt", "Main:" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
|
||||||
|
|
||||||
if (args != null && args.Length > 0)
|
if (args != null && args.Length > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -20,7 +20,7 @@ namespace CloudBuilder.Topshelf.Task
|
|||||||
|
|
||||||
public void Run(Dictionary<string, string> bodyDict)
|
public void Run(Dictionary<string, string> bodyDict)
|
||||||
{
|
{
|
||||||
File.AppendAllText("log.txt", "ChineseNameExtractorTask:" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
|
//File.AppendAllText("log.txt", "ChineseNameExtractorTask:" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
|
||||||
|
|
||||||
if (!bodyDict.ContainsKey("book_id")) return;
|
if (!bodyDict.ContainsKey("book_id")) return;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user