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
D

D Smith

Dedicated Semi-Managed Server Review I've been using AYKSolutions for about 2 years now and their su...

Read full review
J

Jesse

ON, Canada

- always respond fast - excellent pricing - great products

Read full review
K

kkodev

London, United Kingdom

After getting a dedicated server from AYK for almost 2 years, I couldn't be more happy. The prices...

Read full review
J

Jose E

ON, Canada

I very seldom contact support, but if I do, the response is always prompt and issues are always res...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft