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

  • IAPS Security Services have been using the RackSRV network for about 2 1/2 years now and we would not go elsewhere for UK servers. RackSRV has always been a solid network since day one and has continually been expanded upon with new services each year since. I have personally called on Jon and his team early in the mor...

    Jared - IAPS Security Services, L.L.C.
  • Excellent support; good people to work with. Jon and Lee have been great to deal with, and I would not hesitate to recommend Racksrv. They do a very good job of communicating with clients, and are always quick to answer any queries.

    David - Britain Express Limited
  • RackSRV provided me everything I needed, apart from Windows VPS's, I am not a fan of linux and I needed a windows VPS for game servers. If you're a linux fan or don't need windows then RackSRV will exceed your expectations!

    Alex
  • Excellent service and very happy with the products and setup. I've never had any problems with my setup, and can 100% recommend this to anyone thinking of a hosted solution.

    Pritesh
  • We've been a customer of RackSRV periodically over the last few years with various services ranging from dedicated servers to Virtual Private Servers. Every single time, both the service and customer service have been exceptional in every single way. Customer support is always available, very prompt and extreme...

    Ryan - SWBROADBAND Ltd
  • 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
  • We have been very happy with the service provided by RackSRV. The few times we've had any issues, RackSRV have been quick to help us out, even after-hours and on weekends. RackSRV have been very good at informing us in advance if any down-time could be expected etc.

    Steen - Illumi A/S
0