BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

Cpanel/WHM

1. Login to your Cpanel and go to Cron jobs.
2. Select Standard and enter (no quotes) "/usr/bin/php -q /home/USERNAME/public_html/PathToFile" into the Command field. USERNAME is your Cpanel username.
3. You will also need to setup the times for this to run.

Example:

My username is "domdom". The PHP file I want to run resides in /phpfiles/mycron.php. The command to run it via the Cron Manager will look like this:

/usr/bin/php -q /home/domdom/public_html/phpfiles/mycron.php

See What Our Customers Say

Leave review
L

Luis

Thanks for the fast sollution, it was my fault since my original e-mail got somehow bugged and I did...

Read full review
C

Chandra

AL, Indonesia

Great service with affordable price, also helpful and kindness staff.

Read full review
J

Jahanzeb

Punjab, Pakistan

Simply the best. have been using them from last 2 years. Remember Dedicated servers are hardware so...

Read full review
B

Bob

SA, Australia

AYK provide a very good value product, and always in a professional manner. I have used several host...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft