<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Cron on Dreaming time - a blog by Ji Huang</title>
    <link>https://jhuang.netlify.app/tags/cron/</link>
    <description>Recent content in Cron on Dreaming time - a blog by Ji Huang</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 08 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jhuang.netlify.app/tags/cron/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Start Codex CLI quota periods automatically with cron</title>
      <link>https://jhuang.netlify.app/blog/2026-05-08-codex-cron-quota-wakeup/</link>
      <pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate>
      <guid>https://jhuang.netlify.app/blog/2026-05-08-codex-cron-quota-wakeup/</guid>
      <description>&lt;p&gt;I use Codex CLI on an Ubuntu server. The quota window is 5 hours, so I trigger a tiny Codex request at &lt;strong&gt;07:30, 12:30, and 17:30&lt;/strong&gt; to get three full windows per day. You can use a similar cron job for Claude Code too.&lt;/p&gt;
&lt;p&gt;The solution is a small shell script plus a user cron job.&lt;/p&gt;
&lt;h2 id=&#34;create-the-wakeup-script&#34;&gt;Create the wakeup script&lt;/h2&gt;
&lt;p&gt;Create the job folder and copy and paste this whole block into the terminal:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
