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
W

WorldTruthorg

FL, United States

I have never experienced a more professional and personal client-based service such as I am enjoying...

Read full review
M

Mathieu L

MD, United States

I love AYK. been with them for over 5 years and the best ever

Read full review
J

Johnny

NC, United States

Hi Guys and Gals, I'll just say you all are top notch and go above and behind with support. I'v...

Read full review
P

Pierre

QC, Canada

My first experience with VPS and I din't really know what to do or what to expect. AykSolutions.com...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft