Skip to content

Commit

Permalink
remove actualbudget from statup
Browse files Browse the repository at this point in the history
  • Loading branch information
MikesGlitch committed Apr 2, 2024
1 parent 1ee3ea0 commit 65ceedc
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions utils/PingBlog/Program.cs
Expand Up @@ -8,29 +8,29 @@ class Program
{
static void Main(string[] args)
{
Console.WriteLine("Running ActualBudget...");
// Console.WriteLine("Running ActualBudget...");

var process = new Process {
StartInfo = new ProcessStartInfo
{
FileName = "cmd.exe",
RedirectStandardInput = true,
RedirectStandardOutput = true,
UseShellExecute = false,
CreateNoWindow = false,
WorkingDirectory = @"D:\GitWork\actual-server",
}
};
// var process = new Process {
// StartInfo = new ProcessStartInfo
// {
// FileName = "cmd.exe",
// RedirectStandardInput = true,
// RedirectStandardOutput = true,
// UseShellExecute = false,
// CreateNoWindow = false,
// WorkingDirectory = @"D:\GitWork\actual-server",
// }
// };

try
{
process.Start();
process.StandardInput.WriteLine(@"npm start");
}
catch (Exception ex)
{
Console.WriteLine("ActualBudget Failed", ex.ToString());
}
// try
// {
// process.Start();
// process.StandardInput.WriteLine(@"npm start");
// }
// catch (Exception ex)
// {
// Console.WriteLine("ActualBudget Failed", ex.ToString());
// }

Console.WriteLine("Starting ping blog service. This service just keeps the blog alive even when nobody is visiting");
var startTimeSpan = TimeSpan.Zero;
Expand Down

0 comments on commit 65ceedc

Please sign in to comment.