icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » Running Cron Job

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old October 18th, 2007, 11:47 AM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2005
1 posts
Gave thanks: 0
Thanked 0 times
Running Cron Job

I'm trying to run a cron job for an rss aggregate application, and I don't think the following code is working:

0,30 * * * * /bin/wget -O /dev/null http://apps.bradjward.com/basketball/crontab.php &> /dev/null

Am I doing something wrong?

Brad
bradjward is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 18th, 2007, 12:01 PM   #2 (permalink)
He shoots.. He scores!
Super #1
 
puckchaser's Avatar
 
Joined in Feb 2007
Lives in A room with no windows.
Hosted on SH110
1,448 posts
Gave thanks: 46
Thanked 140 times
Dont run a wget..

Just call php directly, like this in your crontab

php /home/user/public_html/subdomain/blah/script.php
__________________
SH110
puckchaser is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are On