title: Alternative to cron job in linux for running a script after every M minutes?
body: <p>I need to run a script file after every M minutes. This M is configurable. For now I have used the cron entry as below.</p>
  
  <pre><code>*/M * * * * /tmp/test.sh
  </code></pre>
  
  <p>But, by using above logic, M value is restricted to 5,10,15,30 etc., M can not be set to 28 for example. I can write a background service for doing this, but I wanted to know is there any alternative to cron job.</p>