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

  • I have been a customer of RackSRV with three co-located servers for over 5 years now and cannot fault the reliability of the service or the commitment of Jon and his team when I have needed assistance. I would happily recommend RackSRV to anyone :)

    Ed
  • Racksrv provides us with high quality servers and support which run mission critical solutions. Support is professional and quick to respond!

    Yitzi - TEGUVA MARKETING 2009 LTD
  • I cant recommend RackSRV highly enough! Overall, support is definitely one of RackSRV's many strong points, if you were to single out any one in particular, and this really defined the service for us. Looking forward to renewing our service in future.

    Joe
  • 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
  • One of the best companies that I've ever dealt with, and I've been through a few. When getting support, you often speak to the owner himself and any issues are resolved very quickly. Not to mention that the prices simply cannot be beaten, and can be tailored to your specifications and price range. Excellent ...

    Peter
  • Our community needed a game server to host our community games and voip on and were recommended RackSRV by a fellow server admin. I am happy to say that the server performance, customer support and service are all exemplary and I wouldn't hesitate to recommend RackSRV on again!

    Christopher
  • Have dealt with Racksrv for years, great company, great support, quick answers, will be with them for many more I hope

    Nick - Sort It.biz Limited
0