Cron job - Can I use php command!

Discussion in 'Setting-up protection' started by joom, Oct 2, 2006.

  1. joom

    joom New Member

    Joined:
    Sep 27, 2006
    Messages:
    3
    As in your manual, it said that we should use linyx command to run external cron instead of internal cron. However, my host provider noticed me that the linyx will take some resources because it load a browser to run the cron.

    My question is: can we use php command or GET command to run the cron instead of linyx? I try to use php commnad and it runs. But I am not sure if it run correctly.

    Best regards,
    www.joomlart.com
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Sure, you can use GET command. PHP command is less recommended, but on most hosts is also working.
  3. dan_kelly

    dan_kelly New Member

    Joined:
    Aug 29, 2006
    Messages:
    91
    Why is it "less recommended", is it prone to error? Is it not as effective? Do some of the commands not get executed?

Share This Page