mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-01-31 00:47:30 +01:00
Proper naming
This commit is contained in:
parent
78d8deb9de
commit
ccbe8a95f8
@ -68,7 +68,7 @@ public static class Tranga_Cli
|
|||||||
menu = 0;
|
menu = 0;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ExecuteTask(taskManager);
|
ExecuteTaskNow(taskManager);
|
||||||
Console.WriteLine("Press any key.");
|
Console.WriteLine("Press any key.");
|
||||||
Console.ReadKey();
|
Console.ReadKey();
|
||||||
menu = 0;
|
menu = 0;
|
||||||
@ -137,7 +137,7 @@ public static class Tranga_Cli
|
|||||||
Console.WriteLine($"{tIndex++}: {trangaTask.task} - {trangaTask.reoccurrence} - {trangaTask.publication?.sortName} - {trangaTask.connectorName} - {trangaTask.lastExecuted} - {(trangaTask.isBeingExecuted ? "Running" : "Waiting")}");
|
Console.WriteLine($"{tIndex++}: {trangaTask.task} - {trangaTask.reoccurrence} - {trangaTask.publication?.sortName} - {trangaTask.connectorName} - {trangaTask.lastExecuted} - {(trangaTask.isBeingExecuted ? "Running" : "Waiting")}");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void ExecuteTask(TaskManager taskManager)
|
private static void ExecuteTaskNow(TaskManager taskManager)
|
||||||
{
|
{
|
||||||
TrangaTask[] tasks = taskManager.GetAllTasks();
|
TrangaTask[] tasks = taskManager.GetAllTasks();
|
||||||
if (tasks.Length < 1)
|
if (tasks.Length < 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user