cronjobs Time Question

JosHost

Verified User
Joined
Mar 9, 2006
Messages
37
Location
israel
Hello,
I have set up both option as for the cronjobs, with-/usr/local/bin/php -q OR php -q

i have set in the Minutes- 5, and left all the other fields with *,
is that mean that my cronjob will run Every 5 minutes ?
how do i set it to run Every 5 minutes?
why it is not working?

Minute Hour Day of Month Month Day of Week
5 * * * *
php -q usr/home/name/domains/domain.com/public_html/directory/cron/cronjob.php

/usr/local/bin/php -q /usr/home/name/domains/domain.com/public_html/directory/cron/cronjob.php

Thank you,
Joseph
 
This will run your job only on 5 minute of every hour. To start job every 5 minutes, first field should be */5.

*/5 * * * *
php -q usr/home/name/domains/domain.com/public_html/directory/cron/cronjob.php
 
Note also that you may need to include the full path to your php command.

Jeff
 
Back
Top