<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ryan Wallace</title>
    <description>The latest articles on DEV Community by Ryan Wallace (@ryancswallace).</description>
    <link>https://dev.to/ryancswallace</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4059043%2F33373b8e-f238-421e-b539-962e25ae8763.jpeg</url>
      <title>DEV Community: Ryan Wallace</title>
      <link>https://dev.to/ryancswallace</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ryancswallace"/>
    <language>en</language>
    <item>
      <title>I outgrew nohup, so I built a daemonless job manager</title>
      <dc:creator>Ryan Wallace</dc:creator>
      <pubDate>Sat, 08 Aug 2026 11:48:51 +0000</pubDate>
      <link>https://dev.to/ryancswallace/i-outgrew-nohup-so-i-built-a-daemonless-job-manager-40hm</link>
      <guid>https://dev.to/ryancswallace/i-outgrew-nohup-so-i-built-a-daemonless-job-manager-40hm</guid>
      <description>&lt;p&gt;I've long used &lt;code&gt;nohup&lt;/code&gt; for background processes that I want to run independently of the terminal. These types of jobs are usually long-running, sometimes launched over an SSH connection, and often have dependencies on other jobs.&lt;/p&gt;

&lt;p&gt;I built Jobman to combine the simplicity of &lt;code&gt;nohup&lt;/code&gt; with features I previously wrote one-off shell scripts for, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;retries&lt;/li&gt;
&lt;li&gt;timeouts&lt;/li&gt;
&lt;li&gt;dependencies between jobs&lt;/li&gt;
&lt;li&gt;email or webhook notifications on completion or failure&lt;/li&gt;
&lt;li&gt;separate stdout and stderr logging with a combined observed-order view&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Jobman does this with a small per-job supervisor process; there's no shared daemon to run. It uses SQLite for job and run metadata and plain files for log storage. It's intended to be a local, per-user tool, not a system-wide or distributed scheduler.&lt;/p&gt;

&lt;p&gt;Jobman is an MIT-licensed command-line job manager written in Go. It runs on Linux, macOS, and Windows, and it doesn’t need a shared daemon.&lt;/p&gt;

&lt;h2&gt;
  
  
  Basic Examples
&lt;/h2&gt;

&lt;p&gt;Here's an example session using Jobman to launch a Python script, examine its logs, and check its status:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="gp"&gt;$&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;jobman run &lt;span class="nt"&gt;--name&lt;/span&gt; import-data &lt;span class="nt"&gt;--retries&lt;/span&gt; 3 &lt;span class="nt"&gt;--run-timeout&lt;/span&gt; 30m &lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="go"&gt;  --retry-timeouts -- python3 ./import_data.py
019fddfe-23bb-732d-a869-2aaee43c03d7

&lt;/span&gt;&lt;span class="gp"&gt;$&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;jobman logs &lt;span class="nt"&gt;--follow&lt;/span&gt; import-data
&lt;span class="go"&gt;Starting import...
Imported batch 1/3.
Imported batch 2/3.
^C

&lt;/span&gt;&lt;span class="gp"&gt;$&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;jobman status import-data
&lt;span class="go"&gt;019fddfe-23bb-732d-a869-2aaee43c03d7    import-data     running
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Above, the Ctrl-C stopped &lt;code&gt;logs --follow&lt;/code&gt;, while the Python process continued under Jobman.&lt;/p&gt;

&lt;p&gt;Here's a similar example live:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/9lWyZpZo1DM"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Fit and Alternatives
&lt;/h2&gt;

&lt;p&gt;Jobman is mainly for noninteractive local work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;data imports and exports&lt;/li&gt;
&lt;li&gt;research scripts and model runs&lt;/li&gt;
&lt;li&gt;long builds or downloads&lt;/li&gt;
&lt;li&gt;maintenance commands&lt;/li&gt;
&lt;li&gt;jobs started over SSH&lt;/li&gt;
&lt;li&gt;small local pipelines with dependencies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Jobman isn’t meant to replace tmux when you need to reattach to an interactive terminal. It also isn’t a boot-time service manager or a distributed scheduler like Slurm.&lt;/p&gt;

&lt;p&gt;Comparing Jobman to possible alternatives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;nohup&lt;/code&gt;: when you just need redirection and a PID&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tmux&lt;/code&gt;: when you want the terminal session back&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;systemd-run&lt;/code&gt;: when systemd should own the process&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;jobman&lt;/code&gt;&lt;/strong&gt;: when you want a durable local job with retries, timeouts, logs, dependencies, and later lifecycle controls&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Jobs can survive a closed terminal or lost SSH connection, but they may still be stopped when the operating-system user session ends, depending on session configuration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try Jobman
&lt;/h2&gt;

&lt;p&gt;On macOS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew &lt;span class="nb"&gt;install &lt;/span&gt;ryancswallace/tap/jobman
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Linux packages and Windows builds are also available. The &lt;a href="https://jobman.tech/getting-started/installation/" rel="noopener noreferrer"&gt;installation guide&lt;/a&gt; has the full set of options.&lt;/p&gt;

&lt;p&gt;Once installed, this is enough to create and inspect a first job:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;jobman run &lt;span class="nt"&gt;--wait&lt;/span&gt; &lt;span class="nt"&gt;--name&lt;/span&gt; first-job &lt;span class="nt"&gt;--&lt;/span&gt; jobman &lt;span class="nt"&gt;--version&lt;/span&gt;
jobman status first-job
jobman logs &lt;span class="nt"&gt;--stream&lt;/span&gt; stdout first-job
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The source is on &lt;a href="https://github.com/ryancswallace/jobman" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;, and the documentation is at &lt;a href="https://jobman.tech/" rel="noopener noreferrer"&gt;jobman.tech&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I’ve also written an &lt;a href="https://ryancswallace.dev/tags/jobman/" rel="noopener noreferrer"&gt;Inside Jobman series&lt;/a&gt; about the implementation, including detached supervision, scheduling, process trees, timeouts, and durable logs.&lt;/p&gt;

&lt;p&gt;Do you see Jobman replacing any combinations of tools you currently use (nohup, tmux, screen, systemd-run)? If Jobman looks useful to you, let me know what types of jobs you would use it for.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>cli</category>
      <category>go</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
