<?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: Ameen Usman</title>
    <description>The latest articles on DEV Community by Ameen Usman (@ameenusman).</description>
    <link>https://dev.to/ameenusman</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%2F4181012%2Fe1324f6d-6551-4ecc-ab3f-784cfd012669.png</url>
      <title>DEV Community: Ameen Usman</title>
      <link>https://dev.to/ameenusman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ameenusman"/>
    <language>en</language>
    <item>
      <title>Does */5 in crontab include minute 0?</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Mon, 23 Nov 2026 02:11:41 +0000</pubDate>
      <link>https://dev.to/ameenusman/does-5-in-crontab-include-minute-0-44lf</link>
      <guid>https://dev.to/ameenusman/does-5-in-crontab-include-minute-0-44lf</guid>
      <description>&lt;p&gt;&lt;code&gt;*/5&lt;/code&gt; in a crontab is cron every 5 minutes — and yes, that includes minute 0. The line is &lt;code&gt;*/5 * * * *&lt;/code&gt;. In the minute field, &lt;code&gt;*&lt;/code&gt; means 0–59, so the step is 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55. Twelve runs an hour. The top of the hour is on the list.&lt;/p&gt;

&lt;p&gt;Build the five fields in the &lt;a href="https://kepttools.com/cron-generator" rel="noopener noreferrer"&gt;cron expression generator&lt;/a&gt;. The page does not install the job. Copy the expression into the crontab on the machine that will run it.&lt;/p&gt;

&lt;h2&gt;
  
  
  When minute 0 is skipped
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;*/5 * * * *       # 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55
5-59/5 * * * *    # 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;5-59/5&lt;/code&gt; starts the range at 5, so minute 0 is left out. Use that only when the top of the hour should stay quiet. For a plain every-five-minutes job, keep &lt;code&gt;*/5 * * * *&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;*/10&lt;/code&gt;, &lt;code&gt;*/15&lt;/code&gt;, and &lt;code&gt;*/30&lt;/code&gt; work the same way as &lt;code&gt;*/5&lt;/code&gt; and still include minute 0.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five fields only
&lt;/h2&gt;

&lt;p&gt;Minute, hour, day of month, month, day of week. There is no seconds field. The daemon starts once when the matching minute begins. Do not paste a Quartz or EventBridge line into a five-field crontab. Call the program by its absolute path. Cron’s PATH is often short.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/cron-every-5-minutes" rel="noopener noreferrer"&gt;https://kepttools.com/guides/cron-every-5-minutes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cron</category>
      <category>linux</category>
      <category>devops</category>
      <category>kepttools</category>
    </item>
    <item>
      <title>*/5 does not start five minutes from now</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Sun, 22 Nov 2026 05:32:56 +0000</pubDate>
      <link>https://dev.to/ameenusman/5-does-not-start-five-minutes-from-now-1k7d</link>
      <guid>https://dev.to/ameenusman/5-does-not-start-five-minutes-from-now-1k7d</guid>
      <description>&lt;p&gt;&lt;code&gt;*/5&lt;/code&gt; does not mean “five minutes after you save the crontab.” The line &lt;code&gt;*/5 * * * *&lt;/code&gt; is locked to the clock. It runs at minute 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 of every hour. Install it at 10:03 and the next run is 10:05, then 10:10. The schedule does not remember when you edited the file.&lt;/p&gt;

&lt;p&gt;Build the five fields in the &lt;a href="https://kepttools.com/cron-generator" rel="noopener noreferrer"&gt;cron expression generator&lt;/a&gt;. The page does not install the job. Copy the expression into the crontab on the machine that will run it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the step actually lists
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;*/5 * * * *     # 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55
*/10 * * * *    # 0, 10, 20, 30, 40, 50
*/15 * * * *    # 0, 15, 30, 45
*/30 * * * *    # 0 and 30
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each of those includes minute 0. &lt;code&gt;5-59/5 * * * *&lt;/code&gt; is different: the range starts at 5, so minute 0 is skipped. Use that only when you really want to skip the top of the hour.&lt;/p&gt;

&lt;h2&gt;
  
  
  From now needs a different tool
&lt;/h2&gt;

&lt;p&gt;To wait five minutes from an arbitrary moment, sleep inside a process, or use a queue’s delay. Cron will still wake up on minutes 0, 5, 10, and the rest. Five-field cron has no seconds field. The daemon starts once when the matching minute begins.&lt;/p&gt;

&lt;p&gt;Do not paste a Quartz or EventBridge line into a five-field crontab. Call the program by its absolute path. Cron’s PATH is often short.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/cron-every-5-minutes" rel="noopener noreferrer"&gt;https://kepttools.com/guides/cron-every-5-minutes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cron</category>
      <category>linux</category>
      <category>devops</category>
      <category>kepttools</category>
    </item>
    <item>
      <title>*/5 in crontab: cron every 5 minutes</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Sat, 21 Nov 2026 10:11:36 +0000</pubDate>
      <link>https://dev.to/ameenusman/5-in-crontab-cron-every-5-minutes-ei1</link>
      <guid>https://dev.to/ameenusman/5-in-crontab-cron-every-5-minutes-ei1</guid>
      <description>&lt;p&gt;&lt;code&gt;*/5&lt;/code&gt; in a crontab means every five minutes. The full line is &lt;code&gt;*/5 * * * *&lt;/code&gt;. It runs at minute 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 of every hour — locked to the clock, not to the minute you saved the file.&lt;/p&gt;

&lt;p&gt;Build the five fields in the &lt;a href="https://kepttools.com/cron-generator" rel="noopener noreferrer"&gt;cron expression generator&lt;/a&gt;. The page does not install the job. Copy the expression into the crontab on the machine that will run it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The minute list
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;*/5 * * * *     # 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55
*/10 * * * *    # 0, 10, 20, 30, 40, 50
*/15 * * * *    # 0, 15, 30, 45
*/30 * * * *    # 0 and 30
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Install the line at 10:03 and the next run is 10:05, then 10:10. The schedule does not remember when you edited the file. &lt;code&gt;5-59/5 * * * *&lt;/code&gt; is different: minute 0 is skipped. For a plain every-five-minutes job, keep &lt;code&gt;*/5 * * * *&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five fields only
&lt;/h2&gt;

&lt;p&gt;Minute, hour, day of month, month, day of week. There is no seconds field. Do not paste a Quartz or EventBridge line into a five-field crontab. Call the program by its absolute path. Cron's PATH is often short.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/cron-every-5-minutes" rel="noopener noreferrer"&gt;https://kepttools.com/guides/cron-every-5-minutes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cron</category>
      <category>linux</category>
      <category>devops</category>
      <category>kepttools</category>
    </item>
    <item>
      <title>active is not a CSV header</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Sat, 21 Nov 2026 04:02:50 +0000</pubDate>
      <link>https://dev.to/ameenusman/active-is-not-a-csv-header-34l3</link>
      <guid>https://dev.to/ameenusman/active-is-not-a-csv-header-34l3</guid>
      <description>&lt;p&gt;CSV does not split a nested object into columns. On the &lt;a href="https://kepttools.com/json-converter" rel="noopener noreferrer"&gt;JSON converter&lt;/a&gt;, top-level keys become headers. A nest stays one cell. Conversion runs in the browser. Nothing is uploaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  The sample shape
&lt;/h2&gt;

&lt;p&gt;When &lt;code&gt;meta&lt;/code&gt; holds &lt;code&gt;{"active":true}&lt;/code&gt;, CSV prints a &lt;code&gt;meta&lt;/code&gt; column. The cell is the nested object as JSON text, with quotes doubled so the row stays valid:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;id,name,role,meta
1,Ada,engineer,"{""active"":true}"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;active&lt;/code&gt; is not its own header. It stays inside that cell.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the other formats treat the nest
&lt;/h2&gt;

&lt;p&gt;Laravel still nests a PHP array for &lt;code&gt;meta&lt;/code&gt;. TypeScript drafts &lt;code&gt;interface Meta&lt;/code&gt; and types the field as &lt;code&gt;Meta&lt;/code&gt;. The PHP DTO types &lt;code&gt;meta&lt;/code&gt; as &lt;code&gt;public array $meta&lt;/code&gt; with no child class. Same paste, four different shapes.&lt;/p&gt;

&lt;p&gt;An array value is also one CSV cell. &lt;code&gt;{"id":1,"tags":[]}&lt;/code&gt; converts to a &lt;code&gt;tags&lt;/code&gt; cell of &lt;code&gt;[]&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep parse errors separate
&lt;/h2&gt;

&lt;p&gt;A trailing comma such as &lt;code&gt;{"a":1,}&lt;/code&gt; clears every format. Repair broken text in the &lt;a href="https://kepttools.com/json-formatter" rel="noopener noreferrer"&gt;JSON formatter&lt;/a&gt;, then convert again.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/json-to-typescript-php-dto-laravel" rel="noopener noreferrer"&gt;https://kepttools.com/guides/json-to-typescript-php-dto-laravel&lt;/a&gt;&lt;/p&gt;

</description>
      <category>json</category>
      <category>csv</category>
      <category>typescript</category>
      <category>laravel</category>
    </item>
    <item>
      <title>A five-field crontab line is not Quartz or EventBridge</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Fri, 20 Nov 2026 08:15:50 +0000</pubDate>
      <link>https://dev.to/ameenusman/a-five-field-crontab-line-is-not-quartz-or-eventbridge-2de</link>
      <guid>https://dev.to/ameenusman/a-five-field-crontab-line-is-not-quartz-or-eventbridge-2de</guid>
      <description>&lt;p&gt;A five-field crontab line is not Quartz and not EventBridge. The every-five-minutes line on classic cron is still &lt;code&gt;*/5 * * * *&lt;/code&gt;. Build the five fields in the &lt;a href="https://kepttools.com/cron-generator" rel="noopener noreferrer"&gt;cron expression generator&lt;/a&gt;. The page does not install the job. Copy the line onto the host that runs Vixie cron or cronie.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the shapes diverge
&lt;/h2&gt;

&lt;p&gt;Do not add a seconds field on the front of a crontab line. The five fields would shift one place to the right. Quartz uses six fields, or seven when a year is included, and the first field is seconds. Spring cron uses that six-field form. EventBridge also uses six fields, but they are minutes, hours, day-of-month, month, day-of-week, and year, with no seconds field. Quartz and EventBridge both use &lt;code&gt;?&lt;/code&gt; in one of the day fields. A five-field line from this site matches neither shape.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;*/5 * * * *
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That line is minute, hour, day of month, month, and day of week. There is no seconds field. The daemon starts once when the matching minute begins.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep systemd separate too
&lt;/h2&gt;

&lt;p&gt;systemd timers use &lt;code&gt;OnCalendar&lt;/code&gt;, which is a different language. Do not paste &lt;code&gt;*/5 * * * *&lt;/code&gt; into a timer unit. Confirm the expression you want with &lt;code&gt;systemd-analyze calendar&lt;/code&gt; on that machine.&lt;/p&gt;

&lt;p&gt;Call the program by its absolute path when you install the job. Cron's PATH is often shorter than a login shell.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/cron-every-5-minutes" rel="noopener noreferrer"&gt;https://kepttools.com/guides/cron-every-5-minutes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cron</category>
      <category>linux</category>
      <category>devops</category>
      <category>kepttools</category>
    </item>
    <item>
      <title>first-name keeps the hyphen in the draft</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Fri, 20 Nov 2026 04:08:46 +0000</pubDate>
      <link>https://dev.to/ameenusman/first-name-keeps-the-hyphen-in-the-draft-31f3</link>
      <guid>https://dev.to/ameenusman/first-name-keeps-the-hyphen-in-the-draft-31f3</guid>
      <description>&lt;p&gt;A key named &lt;code&gt;first-name&lt;/code&gt; looks fine in JSON. The drafts do not treat it the same way. On the &lt;a href="https://kepttools.com/json-converter" rel="noopener noreferrer"&gt;JSON converter&lt;/a&gt;, Laravel quotes it and stays valid. TypeScript and the PHP DTO keep the hyphen in the identifier. Conversion runs in the browser. Nothing is uploaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  The sample
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"first-name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"Ada"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"engineer"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Laravel prints valid array syntax: &lt;code&gt;'first-name' =&amp;gt; 'Ada'&lt;/code&gt;. TypeScript emits &lt;code&gt;first-name: string;&lt;/code&gt;. The PHP DTO emits &lt;code&gt;public string $first-name;&lt;/code&gt; and the constructor uses the same name. The class stays &lt;code&gt;DataTransferObject&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;That is a draft, not production code. Rename the field before you ship if the hyphen is not legal in your language.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep this separate from other mistakes
&lt;/h2&gt;

&lt;p&gt;A trailing comma such as &lt;code&gt;{"a":1,}&lt;/code&gt; clears every format. That is a parse error, not a hyphen problem. Repair broken text in the &lt;a href="https://kepttools.com/json-formatter" rel="noopener noreferrer"&gt;JSON formatter&lt;/a&gt;, then convert again.&lt;/p&gt;

&lt;p&gt;A nested object under &lt;code&gt;meta&lt;/code&gt; becomes &lt;code&gt;interface Meta&lt;/code&gt; in TypeScript and &lt;code&gt;public array $meta&lt;/code&gt; on the PHP class. A hyphenated key is a different issue: the name itself is copied into the draft.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/json-to-typescript-php-dto-laravel" rel="noopener noreferrer"&gt;https://kepttools.com/guides/json-to-typescript-php-dto-laravel&lt;/a&gt;&lt;/p&gt;

</description>
      <category>json</category>
      <category>php</category>
      <category>typescript</category>
      <category>laravel</category>
    </item>
    <item>
      <title>1 is int. 1.5 is float. TypeScript says number</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Thu, 19 Nov 2026 01:58:18 +0000</pubDate>
      <link>https://dev.to/ameenusman/1-is-int-15-is-float-typescript-says-number-287o</link>
      <guid>https://dev.to/ameenusman/1-is-int-15-is-float-typescript-says-number-287o</guid>
      <description>&lt;p&gt;A whole number and a decimal do not land the same way on the PHP DTO. On the &lt;a href="https://kepttools.com/json-converter" rel="noopener noreferrer"&gt;JSON converter&lt;/a&gt;, paste &lt;code&gt;1&lt;/code&gt; and the property is typed &lt;code&gt;int&lt;/code&gt;. Paste &lt;code&gt;1.5&lt;/code&gt; and it is typed &lt;code&gt;float&lt;/code&gt;. TypeScript types both as &lt;code&gt;number&lt;/code&gt;. Conversion runs in the browser. Nothing is uploaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  Same JSON, split types
&lt;/h2&gt;

&lt;p&gt;JSON itself does not separate int from float the way PHP does. The draft still does on the PHP class. That is useful when you want a strict property, and easy to miss when you expected one TypeScript-style &lt;code&gt;number&lt;/code&gt; everywhere.&lt;/p&gt;

&lt;p&gt;The class name stays &lt;code&gt;DataTransferObject&lt;/code&gt;. Treat the output as a starting point. Rename the class, and decide whether &lt;code&gt;int&lt;/code&gt;, &lt;code&gt;float&lt;/code&gt;, or a wider type belongs in the code you ship.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep this separate from a scalar list
&lt;/h2&gt;

&lt;p&gt;A root list such as &lt;code&gt;[1,"a",true,null]&lt;/code&gt; is a different case. Laravel prints a PHP list of those four values. TypeScript prints &lt;code&gt;export interface Root {}&lt;/code&gt; with nothing inside, because the first item is a number, not an object. The PHP DTO prints the stub class whose only body is the comment &lt;code&gt;Provide a JSON object to generate properties.&lt;/code&gt; CSV rejects it with &lt;code&gt;CSV conversion expects an array of objects.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The int/float split above is about a numeric property value on an object the DTO can draft. The scalar list never gets that far on TypeScript or the DTO.&lt;/p&gt;

&lt;h2&gt;
  
  
  Invalid paste still clears everything
&lt;/h2&gt;

&lt;p&gt;A trailing comma such as &lt;code&gt;{"a":1,}&lt;/code&gt; clears every format. Repair broken text in the &lt;a href="https://kepttools.com/json-formatter" rel="noopener noreferrer"&gt;JSON formatter&lt;/a&gt;, then convert again.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/json-to-typescript-php-dto-laravel" rel="noopener noreferrer"&gt;https://kepttools.com/guides/json-to-typescript-php-dto-laravel&lt;/a&gt;&lt;/p&gt;

</description>
      <category>json</category>
      <category>php</category>
      <category>typescript</category>
      <category>laravel</category>
    </item>
    <item>
      <title>What does */5 mean in a crontab?</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Wed, 18 Nov 2026 14:19:43 +0000</pubDate>
      <link>https://dev.to/ameenusman/what-does-5-mean-in-a-crontab-46c1</link>
      <guid>https://dev.to/ameenusman/what-does-5-mean-in-a-crontab-46c1</guid>
      <description>&lt;p&gt;&lt;code&gt;*/5&lt;/code&gt; in a crontab is every five minutes on the clock. The full line is &lt;code&gt;*/5 * * * *&lt;/code&gt;. It runs at minute 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 of every hour. The step starts at 0. Twelve starts an hour.&lt;/p&gt;

&lt;p&gt;Build the five fields in the &lt;a href="https://kepttools.com/cron-generator" rel="noopener noreferrer"&gt;cron expression generator&lt;/a&gt;. The page does not install the job. Copy the line into the crontab on the host that will run it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Locked to the clock
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;*/5&lt;/code&gt; does not mean five minutes after you save the crontab. Install the line at 10:03 and the next run is 10:05, then 10:10. The schedule does not remember the minute you edited the file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;*/5 * * * *     # 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55
*/10 * * * *    # 0, 10, 20, 30, 40, 50
*/15 * * * *    # 0, 15, 30, 45
*/30 * * * *    # 0 and 30
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each of those forms includes minute 0. &lt;code&gt;5-59/5 * * * *&lt;/code&gt; is different: the range starts at 5, so the top of the hour is skipped. Use that only when you want minute 0 quiet. For a plain every-five-minutes job, keep &lt;code&gt;*/5 * * * *&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five fields, no seconds
&lt;/h2&gt;

&lt;p&gt;A standard crontab line has five time fields, then the command: minute, hour, day of month, month, and day of week. There is no seconds field. The daemon starts the command once when the minute begins. It does not fire again at second 10 or 20 inside that minute.&lt;/p&gt;

&lt;p&gt;Do not paste a Quartz or EventBridge line into a five-field crontab. Quartz puts seconds first. EventBridge uses six fields and &lt;code&gt;?&lt;/code&gt; in a day field. A five-field line from this site matches neither shape.&lt;/p&gt;

&lt;h2&gt;
  
  
  One cycle on the host
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;*/5 * * * * date &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; /tmp/cron-every-5.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Wait for two lines five minutes apart, then remove the test. Call real programs by absolute path. Cron's PATH is often shorter than a login shell.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/cron-every-5-minutes" rel="noopener noreferrer"&gt;https://kepttools.com/guides/cron-every-5-minutes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cron</category>
      <category>linux</category>
      <category>devops</category>
      <category>kepttools</category>
    </item>
    <item>
      <title>*/5 does not wait for the previous run to finish</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Wed, 18 Nov 2026 04:07:04 +0000</pubDate>
      <link>https://dev.to/ameenusman/5-does-not-wait-for-the-previous-run-to-finish-nlp</link>
      <guid>https://dev.to/ameenusman/5-does-not-wait-for-the-previous-run-to-finish-nlp</guid>
      <description>&lt;p&gt;&lt;code&gt;*/5 * * * *&lt;/code&gt; is locked to the clock. It is also ruthless about the next fire. On traditional Vixie cron, a job that takes six minutes will overlap itself on that schedule. The daemon starts the command when the minute matches. It does not skip because the previous process is still going.&lt;/p&gt;

&lt;p&gt;Build the five fields in the &lt;a href="https://kepttools.com/cron-generator" rel="noopener noreferrer"&gt;cron expression generator&lt;/a&gt;. The page does not install the job. Copy the line into the crontab on the host that will run it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What overlap looks like
&lt;/h2&gt;

&lt;p&gt;Suppose the command starts at 10:00 and is still running at 10:05. Classic cron starts another instance at 10:05. Two processes share the same work. systemd timers and queue workers can behave differently. This warning is about classic cron.&lt;/p&gt;

&lt;p&gt;If the work must not overlap, take a lock inside the command and keep the schedule as it is. &lt;code&gt;flock&lt;/code&gt; is a common pattern. Call the program by its absolute path. Cron’s PATH is often shorter than your login shell.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related mistakes on the same line
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;*/5&lt;/code&gt; does not mean five minutes after you save the crontab. Install it at 10:03 and the next run is 10:05. There is no seconds field on a five-field line. Quartz puts seconds first. EventBridge uses six fields and &lt;code&gt;?&lt;/code&gt; in a day field. A five-field line matches neither shape.&lt;/p&gt;

&lt;h2&gt;
  
  
  One cycle on the host
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;*/5 * * * * date &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; /tmp/cron-every-5.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Wait for two lines five minutes apart, then remove the test. For real jobs, add the lock before the absolute path of the program.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/cron-every-5-minutes" rel="noopener noreferrer"&gt;https://kepttools.com/guides/cron-every-5-minutes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>devops</category>
      <category>beginners</category>
      <category>kepttools</category>
    </item>
    <item>
      <title>null becomes mixed on the PHP DTO</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Tue, 17 Nov 2026 01:46:52 +0000</pubDate>
      <link>https://dev.to/ameenusman/null-becomes-mixed-on-the-php-dto-pc8</link>
      <guid>https://dev.to/ameenusman/null-becomes-mixed-on-the-php-dto-pc8</guid>
      <description>&lt;p&gt;I pasted nulls as property values and expected the same type everywhere. On the &lt;a href="https://kepttools.com/json-converter" rel="noopener noreferrer"&gt;JSON converter&lt;/a&gt; they stay null in the paste, but the drafts diverge. Conversion runs in the browser. Nothing is uploaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  The sample shape
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"meta"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Laravel writes &lt;code&gt;null&lt;/code&gt; for each key. TypeScript types each field as &lt;code&gt;null&lt;/code&gt;. The PHP DTO types each property as &lt;code&gt;mixed&lt;/code&gt;. CSV writes the headers &lt;code&gt;name,age,meta&lt;/code&gt; with an empty row underneath.&lt;/p&gt;

&lt;p&gt;That is different from a nested object. When &lt;code&gt;meta&lt;/code&gt; is &lt;code&gt;{"active":true}&lt;/code&gt;, TypeScript drafts &lt;code&gt;interface Meta&lt;/code&gt; and the PHP DTO still uses &lt;code&gt;public array $meta&lt;/code&gt;. A null &lt;code&gt;meta&lt;/code&gt; does not create that nest. It is &lt;code&gt;mixed&lt;/code&gt; on the PHP class and &lt;code&gt;null&lt;/code&gt; in TypeScript.&lt;/p&gt;

&lt;h2&gt;
  
  
  Missing keys are a different path
&lt;/h2&gt;

&lt;p&gt;A missing key on the PHP DTO is still assigned with &lt;code&gt;?? null&lt;/code&gt;, including on a property declared &lt;code&gt;public int $id&lt;/code&gt;. That is an assignment fallback. A JSON null value is an explicit null in the paste, and the draft types that property as &lt;code&gt;mixed&lt;/code&gt; on the PHP class.&lt;/p&gt;

&lt;p&gt;The class name stays &lt;code&gt;DataTransferObject&lt;/code&gt;. Rename it before the draft ships.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep parse errors separate
&lt;/h2&gt;

&lt;p&gt;A trailing comma such as &lt;code&gt;{"a":1,}&lt;/code&gt; clears every format with &lt;code&gt;Expected double-quoted property name in JSON at position 7 (line 1 column 8)&lt;/code&gt;. That is not a null. Repair broken text in the &lt;a href="https://kepttools.com/json-formatter" rel="noopener noreferrer"&gt;JSON formatter&lt;/a&gt;, then convert again.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/json-to-typescript-php-dto-laravel" rel="noopener noreferrer"&gt;https://kepttools.com/guides/json-to-typescript-php-dto-laravel&lt;/a&gt;&lt;/p&gt;

</description>
      <category>json</category>
      <category>kepttools</category>
      <category>typescript</category>
      <category>laravel</category>
    </item>
    <item>
      <title>[1,"a",true,null] drafts an empty Root</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Sun, 15 Nov 2026 03:51:31 +0000</pubDate>
      <link>https://dev.to/ameenusman/1atruenull-drafts-an-empty-root-20p6</link>
      <guid>https://dev.to/ameenusman/1atruenull-drafts-an-empty-root-20p6</guid>
      <description>&lt;p&gt;I pasted &lt;code&gt;[1,"a",true,null]&lt;/code&gt; into the &lt;a href="https://kepttools.com/json-converter" rel="noopener noreferrer"&gt;JSON converter&lt;/a&gt;. It is valid JSON. The four formats still disagreed. Parsing stays in the browser. Nothing is uploaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  What each format does
&lt;/h2&gt;

&lt;p&gt;Laravel walks the whole value and prints a PHP list of those four values: &lt;code&gt;1&lt;/code&gt;, &lt;code&gt;"a"&lt;/code&gt;, &lt;code&gt;true&lt;/code&gt;, and &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;TypeScript drafts from the first object when the root is an array. The first item is a number, not an object, so the interface is empty:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="nc"&gt;Root&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The PHP DTO prints a stub class. The only body is the comment &lt;code&gt;Provide a JSON object to generate properties.&lt;/code&gt; There are no typed properties for the scalars.&lt;/p&gt;

&lt;p&gt;CSV rejects the paste. The error is &lt;code&gt;CSV conversion expects an array of objects.&lt;/code&gt; and the output is cleared.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the first item matters
&lt;/h2&gt;

&lt;p&gt;TypeScript and the PHP DTO are object drafts. A list of scalars has no first object to read keys from. Laravel does not need that shape, so it still prints the list. CSV needs top-level object keys for a header, so it refuses both this paste and &lt;code&gt;[]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A whole number such as &lt;code&gt;1&lt;/code&gt; is &lt;code&gt;int&lt;/code&gt; on the PHP DTO when it is a property value. &lt;code&gt;1.5&lt;/code&gt; is &lt;code&gt;float&lt;/code&gt;. TypeScript types both as &lt;code&gt;number&lt;/code&gt;. That path only appears when the paste is an object (or an array of objects) with those fields.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related refusals
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;[]&lt;/code&gt; is also valid JSON. Laravel prints &lt;code&gt;[]&lt;/code&gt;. TypeScript prints an empty &lt;code&gt;Root&lt;/code&gt; with a blank line between the braces. The PHP class is empty &lt;code&gt;DataTransferObject&lt;/code&gt;. CSV again says it expects an array of objects.&lt;/p&gt;

&lt;p&gt;A trailing comma such as &lt;code&gt;{"a":1,}&lt;/code&gt; is different. That is a parse error and clears every format.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/json-to-typescript-php-dto-laravel" rel="noopener noreferrer"&gt;https://kepttools.com/guides/json-to-typescript-php-dto-laravel&lt;/a&gt;&lt;/p&gt;

</description>
      <category>json</category>
      <category>typescript</category>
      <category>php</category>
      <category>kepttools</category>
    </item>
    <item>
      <title>[] is valid JSON. CSV still clears the output</title>
      <dc:creator>Ameen Usman</dc:creator>
      <pubDate>Sat, 14 Nov 2026 04:30:29 +0000</pubDate>
      <link>https://dev.to/ameenusman/-is-valid-json-csv-still-clears-the-output-1b26</link>
      <guid>https://dev.to/ameenusman/-is-valid-json-csv-still-clears-the-output-1b26</guid>
      <description>&lt;p&gt;I pasted &lt;code&gt;[]&lt;/code&gt; into the &lt;a href="https://kepttools.com/json-converter" rel="noopener noreferrer"&gt;JSON converter&lt;/a&gt; and expected one answer. The four formats disagreed. &lt;code&gt;[]&lt;/code&gt; is valid JSON. It is not an empty text box, and it is not a parse error. Conversion stays in the browser. Nothing is uploaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  What each format prints
&lt;/h2&gt;

&lt;p&gt;Laravel walks the whole value and prints an empty PHP array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;TypeScript drafts from the first object when the root is an array. There is no first object, so the interface is empty &lt;code&gt;Root&lt;/code&gt; with a blank line between the braces:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="nc"&gt;Root&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The PHP DTO is still class &lt;code&gt;DataTransferObject&lt;/code&gt;. It has &lt;code&gt;declare(strict_types=1)&lt;/code&gt;, no properties, and an empty constructor:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;

&lt;span class="k"&gt;declare&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;strict_types&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;DataTransferObject&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;


    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;__construct&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;array&lt;/span&gt; &lt;span class="nv"&gt;$data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;

    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;CSV does not convert &lt;code&gt;[]&lt;/code&gt;. The error is &lt;code&gt;CSV conversion expects an array of objects.&lt;/code&gt; and the output is cleared.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not the same as a broken paste
&lt;/h2&gt;

&lt;p&gt;A trailing comma such as &lt;code&gt;{"a":1,}&lt;/code&gt; clears every format with &lt;code&gt;Expected double-quoted property name in JSON at position 7 (line 1 column 8)&lt;/code&gt;. A lone &lt;code&gt;{&lt;/code&gt; stops at column 2. An empty box says &lt;code&gt;Unexpected end of JSON input&lt;/code&gt;. Those are parse failures. &lt;code&gt;[]&lt;/code&gt; parses. CSV is the format that still refuses it.&lt;/p&gt;

&lt;p&gt;Repair broken JSON in the &lt;a href="https://kepttools.com/json-formatter" rel="noopener noreferrer"&gt;JSON formatter&lt;/a&gt;, then convert again. For CSV, paste an array of objects.&lt;/p&gt;

&lt;p&gt;Guide: &lt;a href="https://kepttools.com/guides/json-to-typescript-php-dto-laravel" rel="noopener noreferrer"&gt;https://kepttools.com/guides/json-to-typescript-php-dto-laravel&lt;/a&gt;&lt;/p&gt;

</description>
      <category>json</category>
      <category>csv</category>
      <category>typescript</category>
      <category>kepttools</category>
    </item>
  </channel>
</rss>
