Setting up a cron job

Status
Not open for further replies.

volvis9

New Member
Messages
9
Reaction score
0
Points
0
Hello there!
I have no knowledge on how to set up a cron, please help me.

I need to run a cron job for this file : home/volvis9/public_html/volvisti.tk/ow_cron/run.php

Also, 'volvisti.tk' is an addon domain directory, which mean the file can visited via http at "http://www.volvisti.tk/ow_cron/run.php "

I will run the cron once per 5 or 10 minutes.

Thank you.
 

jjordan69

Member
Messages
224
Reaction score
2
Points
18
Be sure [ Cron Email ] is set to where you can receive Email

To run every six (6) minutes set time to --> [*/6] [*] [*] [*] [*]

I assume [ volvis9 ] is your cPanel name - if not you need to change [ volvis9 ] to your "real" cPanel name

set Cron job [Command] to
cd /home/volvis9/public_html/volvisti.tk/ow_cron/; /usr/local/bin/php /home/volvis9/public_html/volvisti.tk/ow_cron/run.php 2>&1 >> /home/volvis9/public_html/volvisti.tk/ow_cron/cron_output.log

Note
I do not run my Cron jobs at the same times most users do - servers are under high load then
any errors and output from your script will be in file [ public_html/volvisti.tk/ow_cron/cron_output.log ]

For setting run time I assume you have only one Cron job
 
Status
Not open for further replies.
Top