Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Cron Job for a PHP File
Old 07-01-2006, 07:01 PM Cron Job for a PHP File
Silent77's Avatar
Ultra Talker

Posts: 269
Name: Silent
Location: Ohio
Trades: 0
Im trying to set up a cron job in Cpanel 10. I need this cron job to run a file on my ftp called file.php. What do i put in the "Command to run" box so it will run this file.php file?
------------------------------------------------------
EDIT (1):: Problem Fixed
------------------------------------------------------
EDIT (2):: How I Fixed
I added this in the comment box
Code:
wget -O /dev/null http://pathtofile/file.php
__________________
Firefox
rediscover the web

Please login or register to view this content. Registration is FREE
Down with internet explorer!

Last edited by Silent77; 07-02-2006 at 12:46 AM..
Silent77 is offline
Reply With Quote
View Public Profile Visit Silent77's homepage!
 
 
Register now for full access!
Old 07-01-2006, 10:39 PM Re: Cron Job for a PHP File
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
"I wish ppl wouldn't edit thier posts and remove thier original questions"

__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 07-01-2006, 10:45 PM Re: Cron Job for a PHP File
Unknown.

Posts: 1,693
Trades: 0
Quote:
Originally Posted by mgraphic
"I wish ppl wouldn't edit thier posts and remove thier original questions"

agreed, even if you find the solution its always good to post it to help anyone else in the same situation, thats the idea behind forums like this afterall.
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Old 07-02-2006, 12:47 AM Re: Cron Job for a PHP File
Silent77's Avatar
Ultra Talker

Posts: 269
Name: Silent
Location: Ohio
Trades: 0
Yeah, mgraphic and Dark-Skys99, you're right. I updated my post with how i fixed my issue.
__________________
Firefox
rediscover the web

Please login or register to view this content. Registration is FREE
Down with internet explorer!
Silent77 is offline
Reply With Quote
View Public Profile Visit Silent77's homepage!
 
Reply     « Reply to Cron Job for a PHP File
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44151 seconds with 12 queries