<?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: xiun xiao</title>
    <description>The latest articles on DEV Community by xiun xiao (@xiun_xiao_6eae2df5c108c5f).</description>
    <link>https://dev.to/xiun_xiao_6eae2df5c108c5f</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2969596%2F7055e0a9-0a90-4345-a346-4802ba191b99.JPG</url>
      <title>DEV Community: xiun xiao</title>
      <link>https://dev.to/xiun_xiao_6eae2df5c108c5f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xiun_xiao_6eae2df5c108c5f"/>
    <language>en</language>
    <item>
      <title>I built CronBox: a local-first menu bar scheduler for scripts and coding-agent tasks</title>
      <dc:creator>xiun xiao</dc:creator>
      <pubDate>Mon, 01 Jun 2026 09:31:22 +0000</pubDate>
      <link>https://dev.to/xiun_xiao_6eae2df5c108c5f/i-built-cronbox-a-local-first-menu-bar-scheduler-for-scripts-and-coding-agent-tasks-3oh8</link>
      <guid>https://dev.to/xiun_xiao_6eae2df5c108c5f/i-built-cronbox-a-local-first-menu-bar-scheduler-for-scripts-and-coding-agent-tasks-3oh8</guid>
      <description>&lt;p&gt;I have a lot of small scripts that are useful only on my own machine: cleanup jobs, sync tasks, backups, local reports, quick data pulls, and lately a few coding-agent tasks.&lt;/p&gt;

&lt;p&gt;Putting those on a server felt heavier than the problem. Plain cron or launchd works, but it is not very pleasant when I want to browse available scripts, attach JSON args, check whether a job is still running, or read stdout/stderr after the fact.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;CronBox&lt;/strong&gt;: a local-first macOS menu bar scheduler for scripts and coding-agent tasks.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;CronBox scans folders for executable entry scripts, lets you run them manually, and lets you schedule them as recurring cron jobs or one-shot runs.&lt;/p&gt;

&lt;p&gt;It keeps the useful operational bits in one place:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;script directories and selected entrypoints&lt;/li&gt;
&lt;li&gt;aliases, cron expressions, timezones, JSON args, and environment variables&lt;/li&gt;
&lt;li&gt;run history&lt;/li&gt;
&lt;li&gt;live stdout/stderr logs&lt;/li&gt;
&lt;li&gt;macOS notifications when scheduled jobs complete&lt;/li&gt;
&lt;li&gt;skipped runs when the previous run for the same schedule is still queued or running&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The main window can be closed while scheduled jobs keep running from the menu bar.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this exists
&lt;/h2&gt;

&lt;p&gt;I wanted something between two extremes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;cron / launchd&lt;/strong&gt;: reliable, but not friendly when iterating on local scripts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;server-side job runners&lt;/strong&gt;: powerful, but too much infrastructure for personal machine tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CronBox is meant for the messy middle: local automation that you actually want to inspect and adjust.&lt;/p&gt;

&lt;h2&gt;
  
  
  CLI examples
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cronbox add ~/scripts
cronbox add ~/scripts &lt;span class="nt"&gt;--include&lt;/span&gt; daily-report.sh
cronbox schedules add ./daily-report.sh &lt;span class="s2"&gt;"0 9 * * *"&lt;/span&gt; &lt;span class="nt"&gt;--tz&lt;/span&gt; Asia/Shanghai
cronbox schedules add ./reminder.sh &lt;span class="s2"&gt;"* * * * *"&lt;/span&gt; &lt;span class="nt"&gt;--once&lt;/span&gt;
cronbox run ~/scripts daily-report.sh &lt;span class="nt"&gt;--args&lt;/span&gt; &lt;span class="s1"&gt;'{"date":"today"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It also has helpers for creating local Codex and Claude Code task scripts in the default &lt;code&gt;~/.cronbox&lt;/code&gt; workspace.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;The current install path is macOS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/xiaoxiunique/cronbox/main/scripts/install-macos.sh | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;p&gt;CronBox is built with Tauri 2, Vue 3, TypeScript, and Rust. It is MIT licensed.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://cronbox.dev" rel="noopener noreferrer"&gt;https://cronbox.dev&lt;/a&gt;&lt;br&gt;
GitHub: &lt;a href="https://github.com/xiaoxiunique/cronbox" rel="noopener noreferrer"&gt;https://github.com/xiaoxiunique/cronbox&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am still polishing packaging and the coding-agent task workflows. I would be interested to hear how other people handle local scheduled scripts: do you prefer a GUI/menu bar tool, or do you keep everything in cron/launchd?&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>rust</category>
      <category>tauri</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
