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

  • For a few months I used the services of Racksrv I was fully satisfied that: - Good cost / quality servers - Quick commissioning - Good online support, quick reactivity If I can think it Racksrv can build it ... ;-) Thanks for your excellent service, keep it up!

    Jean-Marc - Eden Voice
  • Being a customer at RackSRV has always been easy, they are helpful and I have no complaints. Only in the beginning of my time as a customer was there some rare downtime, but RackSRV has just got better and better with time. The staff seem pro at what they do, last year there has not had any downtime that I've noti...

    Tore
  • I found the box/uptime/network to be generally excellent. In addition your support and response time are both strong. Again, thanks for the generally excellent service and I hope your business continues to prosper.

    Dane
  • I have been totally satisfied with the service by RackSrv. The only reason I had to cancel my account was because I didn't need a dedicated server anymore. Thumbs up for the great support and their reliable servers!

    Stephan
  • The support service (especially out-of-hours) that you personally, and your team have provided has been of a very high standard, so I'm a little sorry to be leaving. Will definitely consider your services again in the future.

    Alex - Translation Business Systems International (UK) Limited
  • Having had a few bad experiences with other hosting companies RackSRV are like a breath of fresh air. Their support is second to none and have even helped in areas that maybe they don't have to. What i love the most about RackSRV is their straight talking and honesty. Long may it continue!

    Stuart
  • We have had excellent service from Jon and his team. Originally a bit sceptical as RackSRV pricing was much lower than most, but they have far exceeded my expected level of service, in terms of hardware, network and assistance. Would highly recommend to anybody.

    Nick - Market Hosting Ltd
0