Running Scheduled Task in Different Dir

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • okc
    Senior Member
    • Oct 2004
    • 235

    Running Scheduled Task in Different Dir

    Is there a way to run a php script as a scheduled task that is not in the normal php folder, but in the root dir of my server?

    Do I just type the full path to the php script? ie /home/dirA/phpscript.php
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Yes, just type a different path. It should run any file you put to it.

    Comment

    Related Topics

    Collapse

    Working...