TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to manage long running scripts?

6 pointsby hexadecover 5 years ago
Is there a tool that allows me to manage a handful of bash and python scripts that I have running in a better manner? I was hoping for a GUI I could have my non-technical teammates check to see the status or output of a script rather than SSHing into a server and finding the output file.<p>For example: I have a script that curls icanhazip.com to check if the dynamic DNS IP we get has changed and then writes the time and IP to a simple text file. Ideally I would like the management site to show the contents of the text file and maybe read cron to see when it will run next.<p>Is there anything like this out there? My usual google-fu is failing me, thanks HN.

10 comments

ecesenaover 5 years ago
Airflow may be a bit more involved than what you&#x27;re asking, but it supports also dependencies among scripts, retries, etc.: <a href="https:&#x2F;&#x2F;airflow.apache.org" rel="nofollow">https:&#x2F;&#x2F;airflow.apache.org</a>
abdelhaiover 5 years ago
Try <a href="https:&#x2F;&#x2F;wooey.readthedocs.io&#x2F;en&#x2F;latest&#x2F;—" rel="nofollow">https:&#x2F;&#x2F;wooey.readthedocs.io&#x2F;en&#x2F;latest&#x2F;—</a> Don’t think there’s a seamless product out there. I’m working on a Python scripting runtime with built-in dashboard and GUI. Happy to give you a demo.
gjvcover 5 years ago
<a href="https:&#x2F;&#x2F;www.rundeck.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.rundeck.org&#x2F;</a>
评论 #20939052 未加载
quickthrower2over 5 years ago
In your example why not use cron and have a short job run every minute.<p>To get that data out there are a number of ways but if you are doing a lot of this stuff consider running logstash, elsaticsearch and kibana (referred to as ELK) to allow anyone to search those logs.
bahjatmover 5 years ago
I think any solution will carry some kind of automation I recommend checking <a href="https:&#x2F;&#x2F;concourse-ci.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;concourse-ci.org&#x2F;</a>
Piskvorrrover 5 years ago
You seem to be looking for systemd units and some GUI on top of that.
评论 #20931303 未加载
评论 #20932293 未加载
Nextgridover 5 years ago
Run your scripts in a CI environment like Jenkins or Concourse CI?
LuNanover 5 years ago
Now github has a CI environment
hos234over 5 years ago
Nagioscore
bebeeover 5 years ago
oh