<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Content in imx93 timer is not executed. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Content-in-imx93-timer-is-not-executed/m-p/2177861#M241038</link>
    <description>&lt;P&gt;bsp：real-time-edge-3.1.0.xml&lt;/P&gt;&lt;P&gt;The /etc/net-debug.sh file is executed regularly in /etc/crontab, but now this script doesn't run. What is the reason?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiang_1001_0-1759204650814.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358985i98A632736428BB9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiang_1001_0-1759204650814.png" alt="xiang_1001_0-1759204650814.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Sep 2025 04:00:33 GMT</pubDate>
    <dc:creator>xiang_1001</dc:creator>
    <dc:date>2025-09-30T04:00:33Z</dc:date>
    <item>
      <title>Content in imx93 timer is not executed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Content-in-imx93-timer-is-not-executed/m-p/2177861#M241038</link>
      <description>&lt;P&gt;bsp：real-time-edge-3.1.0.xml&lt;/P&gt;&lt;P&gt;The /etc/net-debug.sh file is executed regularly in /etc/crontab, but now this script doesn't run. What is the reason?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiang_1001_0-1759204650814.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358985i98A632736428BB9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiang_1001_0-1759204650814.png" alt="xiang_1001_0-1759204650814.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 04:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Content-in-imx93-timer-is-not-executed/m-p/2177861#M241038</guid>
      <dc:creator>xiang_1001</dc:creator>
      <dc:date>2025-09-30T04:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Content in imx93 timer is not executed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Content-in-imx93-timer-is-not-executed/m-p/2178264#M241062</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Common Reasons for a Failed Cron Job&lt;/P&gt;
&lt;DIV class="Y3BBE" data-hveid="CAIQAA" data-processed="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAMQAA" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-processed="true"&gt;Permissions&lt;STRONG class="Yjhzub" data-processed="true"&gt;:&lt;/STRONG&gt; The script lacks execute permissions. You need to make the script executable using &lt;CODE class="o8j0Mc" data-processed="true"&gt;chmod +x /path/to/your/script.sh&lt;/CODE&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAMQAQ" data-processed="true"&gt;&lt;SPAN class="T286Pc" data-processed="true"&gt;Path Environment Variable: Cron runs scripts in a minimal environment with a restricted &lt;SPAN data-processed="true"&gt;&lt;CODE class="o8j0Mc" data-processed="true"&gt;PATH&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN data-processed="true"&gt;. Commands within the script may not be found.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAMQAg" data-processed="true"&gt;&lt;SPAN class="T286Pc"&gt;Missing or Incorrect Paths:&lt;/SPAN&gt;
&lt;UL class="U6u95"&gt;
&lt;LI data-hveid="CAMQAw"&gt;&lt;SPAN class="T286Pc"&gt;The crontab entry itself might use relative paths, which is problematic for cron.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAMQBA"&gt;&lt;SPAN class="T286Pc"&gt;The script might not specify the full path to commands it calls (e.g., instead of &lt;CODE class="o8j0Mc"&gt;ls&lt;/CODE&gt;, use &lt;CODE class="o8j0Mc"&gt;/bin/ls&lt;/CODE&gt;).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAMQBQ" data-processed="true"&gt;&lt;SPAN class="T286Pc"&gt;Crontab Syntax Errors:&lt;/SPAN&gt;
&lt;UL class="U6u95"&gt;
&lt;LI data-hveid="CAMQBg"&gt;&lt;SPAN class="T286Pc"&gt;There must be a newline character after the last command in the crontab file.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAMQBw"&gt;&lt;SPAN class="T286Pc"&gt;The &lt;CODE class="o8j0Mc"&gt;user&lt;/CODE&gt; field is missing in the &lt;CODE class="o8j0Mc"&gt;/etc/crontab&lt;/CODE&gt; file, which requires a user name before the command.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAMQCA" data-processed="true"&gt;&lt;SPAN class="T286Pc"&gt;&lt;STRONG class="Yjhzub"&gt;&amp;nbsp;&amp;nbsp;Issues:&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL class="U6u95"&gt;
&lt;LI data-hveid="CAMQCg"&gt;&lt;SPAN class="T286Pc"&gt;The script may rely on environment variables that are not set in the minimal cron environment.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAMQCw"&gt;&lt;SPAN class="T286Pc"&gt;Scripts containing non-text characters can cause failures&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="Y3BBE" data-hveid="CAQQAA" data-processed="true"&gt;&lt;STRONG class="Yjhzub"&gt;Troubleshooting Steps&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="Y3BBE" data-hveid="CAQQAA" data-processed="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;OL class="VimKh" data-processed="true"&gt;
&lt;LI data-hveid="CAcQAA"&gt;&lt;SPAN class="T286Pc"&gt;Log Script Output&lt;STRONG class="Yjhzub"&gt;:&lt;/STRONG&gt; Redirect the script's output to a log file to see any error messages.&lt;/SPAN&gt;
&lt;DIV class="r1PmQe" data-wiz-uids="GKze5d_4e,GKze5d_4f,GKze5d_4g" data-hveid="CAcQAQ"&gt;
&lt;DIV&gt;
&lt;DIV class="pHpOfb" data-animation-atomic=""&gt;
&lt;DIV class="vVRw1d"&gt;bash&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-hveid="CAcQAA"&gt;
&lt;DIV class="r1PmQe" data-wiz-uids="GKze5d_4e,GKze5d_4f,GKze5d_4g" data-hveid="CAcQAQ"&gt;
&lt;DIV&gt;
&lt;DIV class="pHpOfb" data-animation-atomic=""&gt;
&lt;DIV class="pCTyYe"&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN class="undefined"&gt;* * * * * /path/to/your/script.sh &amp;gt;&amp;gt; /var/log/your_script.log &lt;/SPAN&gt;&lt;SPAN class="tnfcCf"&gt;2&lt;/SPAN&gt;&lt;SPAN class="undefined"&gt;&amp;gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="tnfcCf"&gt;1&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI data-hveid="CAcQAw"&gt;&lt;SPAN class="T286Pc"&gt;Check Permissions: Use &lt;CODE class="o8j0Mc"&gt;ls -l /path/to/your/script.sh&lt;/CODE&gt; to verify the script has execute (&lt;CODE class="o8j0Mc"&gt;x&lt;/CODE&gt;) permissions. If not, run &lt;CODE class="o8j0Mc"&gt;chmod +x /path/to/your/script.sh&lt;/CODE&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAcQBA"&gt;&lt;SPAN class="T286Pc"&gt;Use Full Paths: In your script, replace relative path commands with their full paths (e.g., &lt;CODE class="o8j0Mc"&gt;/bin/grep&lt;/CODE&gt; instead of &lt;CODE class="o8j0Mc"&gt;grep&lt;/CODE&gt;).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAcQBQ"&gt;&lt;SPAN class="T286Pc"&gt;Set Environment Variables: Add &lt;CODE class="o8j0Mc"&gt;PATH&lt;/CODE&gt; and other necessary variables at the top of your cron entry or script to define the environment.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAcQBg"&gt;&lt;SPAN class="T286Pc"&gt;Check for Newline&lt;STRONG class="Yjhzub"&gt;:&lt;/STRONG&gt; Open &lt;CODE class="o8j0Mc"&gt;/etc/crontab&lt;/CODE&gt; and ensure there is a new line character after the last command in your entry.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAcQBw"&gt;&lt;SPAN class="T286Pc"&gt;Verify User Field&lt;STRONG class="Yjhzub"&gt;:&lt;/STRONG&gt; For &lt;CODE class="o8j0Mc"&gt;/etc/crontab&lt;/CODE&gt;, ensure the user field is present (e.g., &lt;CODE class="o8j0Mc"&gt;root&lt;/CODE&gt;).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-hveid="CAcQCA"&gt;&lt;SPAN class="T286Pc"&gt;Use &lt;STRONG class="Yjhzub"&gt;&lt;CODE class="o8j0Mc"&gt;cron.d&lt;/CODE&gt;:&lt;/STRONG&gt; For root-owned jobs, consider placing them in &lt;CODE class="o8j0Mc"&gt;/etc/cron.d/&lt;/CODE&gt; instead of directly editing &lt;CODE class="o8j0Mc"&gt;/etc/crontab&lt;/CODE&gt; for better organization&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN class="T286Pc"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 14:22:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Content-in-imx93-timer-is-not-executed/m-p/2178264#M241062</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-09-30T14:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Content in imx93 timer is not executed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Content-in-imx93-timer-is-not-executed/m-p/2183402#M241286</link>
      <description>I can use the timing function by putting the crontab file into the /etc/cron.d/ file.</description>
      <pubDate>Fri, 10 Oct 2025 01:14:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Content-in-imx93-timer-is-not-executed/m-p/2183402#M241286</guid>
      <dc:creator>xiang_1001</dc:creator>
      <dc:date>2025-10-10T01:14:53Z</dc:date>
    </item>
  </channel>
</rss>

