Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jan 2003
    Posts
    7

    Default Cron tab php script

    Hi,
    just wondering how under standard mode i can get a php script to run every month..... say the script is located at http://mydomain.com/script.php
    plz help, and i dont think lynx is installed...

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Sep 2002
    Posts
    282

    Default

    1. locate php binary(sometimes under /usr/local/[s]bin/php
    2. execute php binary, followed by php script in cron

    elementary my dear opticempire

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Jul 2002
    Posts
    186

    Default

    You'll need to route error messages to /dev/null or you'll get an email with errors every time the cron runs, since php isn't (yet) meant to be run from the command line.

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. No Cron Tab
    By zook123 in forum New User Questions
    Replies: 1
    Last Post: 01-08-2011, 09:39 AM
  2. Standard Cron Tab Setup
    By sexshun in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-10-2005, 11:37 PM
  3. Entropy Search: Cron Tab
    By Currupted in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-29-2005, 11:17 PM
  4. cron tab bug?
    By jdawes in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-01-2004, 04:30 AM
  5. Cron Tab
    By brentp in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-11-2004, 05:33 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube