Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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,544
    Likes Received:
    9
    Trophy Points:
    268
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice