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

Dario

Corrientes, Argentina

I have been a client for many years now. They always answer to my needs, and keep their prices affo...

Read full review
A

AnyMood.co

TX, United States

I've been a client of AYK Solutions for about six months now. They have provided the best overall ex...

Read full review
A

A.L

IL, United States

AYK Solutions has provided me with a very cost effective hosting service with great uptime and lots...

Read full review
O

Oliver G

London, United Kingdom

I recently switched to AYK Solutions from Softlayer for my dedicated server requirements. I received...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft