Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Dec 2001
    Posts
    8

    Default How do you setup a php cron job?

    Hi people

    I am wondering how to setup a php cron file in cpanel. I have tried GET> /path/to/file.php but the cron doesnt run at the defined time at all. Any ideas?

    Job
    Visit http://www.afrisys.com for IT solutions

  2. #2
    Registered User
    Join Date
    Jun 2004
    Posts
    1

    Default

    something like this in your crontab will help

    5/* * * * php -q -f /path/to/file.php

    this will parse the php file specified using the php binary every five minutes.

    =========
    be CREATive
    =========

Similar Threads & Tags
Similar threads

  1. Cron job setup question
    By python01 in forum New User Questions
    Replies: 0
    Last Post: 12-09-2010, 07:57 PM
  2. How to setup cron job for Temp File removal ?
    By cluepatel in forum Optimization
    Replies: 6
    Last Post: 01-28-2010, 03:24 AM
  3. How to setup cron job for Temp File removal ?
    By cluepatel in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-28-2010, 03:24 AM
  4. api cron job setup
    By derfuhrer2007 in forum cPanel Developers
    Replies: 4
    Last Post: 01-18-2010, 10:28 AM
  5. Replies: 1
    Last Post: 07-04-2009, 03:04 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube