Search code examples
croncpanelschedule

Run Cron job every 10 minutes between two hours


I want to run a script at every 10 minutes between 10-14 hours, i tried this solution but it doesn't work:

*/10 10-14 * * * /usr/local/bin/ea-php71 /home2/jaki/public_html/fix/index.php

cpanel settings cronjob

I tried once per minute or once per five minutes and works great.

Any solution?


Solution

  • I found the problem.

    The server are using UTC-04:00, so i need to adjust my hours according to those of the server