#1 (permalink)  
Old 06-30-2004, 06:52 AM
Registered User
 
Join Date: Dec 2001
Posts: 8
jobokoth
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-30-2004, 07:10 AM
Registered User
 
Join Date: Jun 2004
Posts: 1
creat
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
=========
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:42 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc