Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline ChristiaanS  
#1 Posted : Monday, September 3, 2018 10:44:20 AM(UTC)
ChristiaanS

Rank: No customer

Joined: 5/4/2018(UTC)
Posts: 2
Netherlands
Location: Zuid-Holland, Voorburg

We are using grafana and influxdb on our windows servers.

But neither of these can run as a service on windows, they can be started from cli and then they will just log output to the cli forever.
Now I was trying to set it up in visualcron that they start on machine startup and then visualcron can forget about them as they never end.

So I have 2 processes which start from cli and which never exit...

But is this possible? Because I have tried with shell execution and/or timeout and then continue with next, but whatever i do it will just start the first one, keep that one running and never start the second one.

Currently I have disabled on the job the setting : "Run tasks in order" But this also doesn't feel ideally, because now i have 2 programs which are forever running and i don't know if visualcron will encounter a problem if a program is running for example for a month...

Edited by moderator Tuesday, September 4, 2018 2:43:59 PM(UTC)  | Reason: Not specified

Offline thomas  
#2 Posted : Monday, September 3, 2018 3:53:35 PM(UTC)
thomas

Rank: Paid support

Joined: 12/10/2013(UTC)
Posts: 404
Norway

Thanks: 20 times
Was thanked: 154 time(s) in 118 post(s)
Just a guess, but I assume your command has to return something for VC to release it. Maybe something like this could work

https://stackoverflow.co...e-and-immediately-return
thanks 1 user thanked thomas for this useful post.
Support on 9/4/2018(UTC)
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.129 seconds.
Scroll to Top