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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Execute php file via cron job?

Discussion in 'General Discussion' started by Hichem Mhadhbi, Dec 24, 2017.

  1. Hichem Mhadhbi

    Hichem Mhadhbi Registered

    Joined:
    May 30, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Muscat
    cPanel Access Level:
    Root Administrator
    hi
    i want to execute a php file via cron job
    i am staucked
    any help
     
  2. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    114
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    try : */15 * * * * /usr/local/bin/php /home/user/public_html/cron.php
    Its for per 15 mins
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,502
    Likes Received:
    1,616
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page