The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Which command for a crontab

Discussion in 'General Discussion' started by darkfill, Apr 6, 2010.

  1. darkfill

    darkfill Registered

    Joined:
    Apr 6, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I'm new on this forum and a french, so excuse my bad english :/

    I'm using the Cpanel and i 've to create a CronTab to launch a php command.
    I know the path of my script but, with cPanel, i don't know which is the command to launch .

    /Myapp/MyModule/cmdline.php 'param1'


    Can you help me? thanks a lot.

    Darkfill
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    A PHP script may be executed using commands like one of the following examples:
    Code:
    # php /path/to/script.php
    # /usr/local/bin/php /path/to/script.php
    For specific command-line (CLI) reference information I recommend reviewing the official PHP documentation:
     
Loading...

Share This Page