1. Login to clanel and click Cronjob icon. Then set a new cronjob periodicity, like daily, every 15 minutes etc. Then enter command. My command which worked on my reseller linux cpanel account is:
/usr/bin/wget -O - "http://mydomain.com/scripttorun.php"
If you want to hide output, you can do it in quiet mode:
/usr/bin/wget -q -O - "http://mydomain.com/scripttorun.php"
If above command examples dont works, try this:
wget -O - "http://mydomain.com/scripttorun.php"
2. cronjob can be also set directly from linux command line (shell?) Im not sure if this will work, you must have privileges from server admin to do this. Do this only on your own risk if you are not experienced admin, this manual can cause damage to your crontab if used badly
a) login via ssh
b) do: crontab -l
c) if you are able to see list of crons or empty crontab fie, copy its contents by mouse (Ctrl + C and Ctrl + V into notepad) so you can restore it
d) add new crontab like
(runs every 15 minutes)*/15 * * * * /usr/bin/wget -O - "http://mydomain.com/scripttorun.php"
e) do Ctrl + C command to quit back to command line, save changes by hitting W (write) or similar
Use Google or ask there to get thru this