CronJob

hostingpro

Verified User
Joined
Mar 25, 2013
Messages
6
Hello,

I set a cronjob for every 5 minutes, look like this

5**** php -q /home/admin/domains/mydomain/public_html/underdomain/admin/cron.php



Somehow, directadmin runs it every 1 hour?
 
This commands means...
"Every week, every day, every hour, when the minutes are 5."

So use: */5 * * * * php -q /home/admin/domains/mydomain/public_html/underdomain/admin/cron.php
 
"Every week, every day, every hour, when the minutes are 5."
To be exact... the order is just the other way around. It start's with minutes, so it should be:
the 5th minute, every hour, every day, every week, every month.

Your solution is correct.
 
Back
Top