tags:

views:

162

answers:

2

Hello .

in my hosting i have a section for cron job like this:

alt text

the php script is called "croned.php" , which i want it to run every 10 minutes

what i will fill in every field?

i tried but it didn't work

Note: the full path to the script is : /home/axelzd/domains/hellodom.com/public_html/croned.php

Thanks

+1  A: 

Usually you can use commas to separate the cron minutes/hours etc. - 0,10,20,30,40,50 in your minute field (but I can't guarantee your admin will take it - I know Plesk does) and * in all others . The command is more tricky, but something like this should do /usr/bin/wget -q -t 5 --delete-after URL_TO_YOUR_CRON or php PATH_TO_YOUR_PHP_FILE_ON_THE_SERVER

Marek Karbarz
Thanks! /usr/bin/wget is the one who only works with me :)
David
+2  A: 

Put */10 in the minutes whilst putting * in all other fields.

jldupont
did not know about the `*/10` syntax - will save some typing
Marek Karbarz