Enter promo code HALFMANAGED at checkout for 50% off your first month’s bill on any managed service!
50% off managed hosting with code HALFMANAGED

Need help? We may have the answer for you already!

PHP as a Cron CentOS/Fedora

When adding a PHP script as a cron you need to ensure that you include the full PHP directory, simply running the following will not allow the script to run:

30 6 * * * php -q public_html/clients/scripts/mycron.php

Using the following will allow the PHP script to be used within a cron process:

30 6 * * * /usr/local/bin/php -q /home/username/public_html/clients/admin/mycron.php

Note how we need to utilise the full directory structure to ensure both the PHP process is called correctly and has the full directory of your PHP script.

News @ RackSRV

Customer Feedback

  • Having been a user of remote servers from multiple hosts over many years (far more than I like to remember) I have left them all due to terrible customer after service once they had my custom. After leaving a major provider a few years ago I was pointed in the direction of racksrv. Racksrv are a different breed of ...

    Graham
  • My community (Aprilon Network) and I have wanted to try out a dedicated server to host gameservers on. This has turned out to be a success, your dedicated server and network is excellent! We've had significant traffic to our Team Fortress 2 servers (along with exclusive events that were a success), that it has ...

    Karl Juan
  • Like many I had been buying servers from American companies with poor customer support under the illusion that you just can't get a decent server for a decent price in the UK. Racksrv disproved that myth for me. Their offer of a powerful server based in the UK, generous transfer allowances, and awesome customer supp...

    James
  • RackSRV has always provided me with a first class hosting service along with first class customers service. I would recommend RackSrv to any of my clients.

    Michael
  • The service I have received from RackSRV has been an excellent experience, their low latency high speed network has been flawless. I approached Jon with the need for a Dedicated Server, at the time he had an excellent offer available which I took advantage of in an instant, excellent specification hardware with grea...

    Craig - VeloxServ Communications Ltd
  • RackSRV hosts all of the game servers for our forthcoming title Heroes of Newerth in the UK, we are currently at 25+ boxes hosted here and the service and support is outstanding. I'm not sure these people ever sleep as the watching of the boxes never ends. Keep up the good work!

    Shawn - S2 Games
  • Switched host to RackSRV several months back. Very happy with the hosting. Great hardware, great network and excellent service. What more could you ask for?

    Jeff - Mint-Clan
0