Allows you to search a variety of questions and answers
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
AYKSolutions is thee best hosting solution I have found in 10 years of searching. I'm very grateful of the services they provide. Such a vast variety to host whatever you desire at a great rate. The support team has always been great, always get a reply within 4 Hours of posting, usually way before 4H. I have a range of 1-10gbit machines and they've always kept up with premium standards. Networks they sell are premium, guaranteed. Thank you, AYK :)
AYK provide a very good value product, and always in a professional manner. I have used several hosting companies over the past 17 years. During that time I occasionally needed help with a variety of minor setup issues. Only AYK gave quick and helpful answers. I highly recommend them.
Great Service I was using a dedicated server with AYK for about 6 months untill i sold my website. Their support is outstanding they reply very quickly and helpful. If i ever want another dedicated server i will 100% choose AYK.