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 » Discussions » All Things Techy » Site Maintenance » cron problem

Site Maintenance Program updates, securing your website, creating backups.

Reply
 
LinkBack Thread Tools Search this Thread
Old June 6th, 2005, 2:41 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2004
18 posts
Gave thanks: 0
Thanked 0 times
cron problem

I created a php script that will email the contents of a file to me every night. I added a cron job as follows

Code:
php -q /home/jatc153/public_html/register/sendinvoice.php
the cron job is running but I get an error /bin/sh: line 1: /usr/local/lib/php: is a directory

what should i put in place of php to run a php script with cron?

Thanks in Advance

Last edited by po00oq; June 6th, 2005 at 2:54 PM..
po00oq is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 6th, 2005, 3:23 PM   #2 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2004
18 posts
Gave thanks: 0
Thanked 0 times
I got it to work... I just used GET instead...anyone know why php did not work though??
__________________
Server: Sonet
po00oq 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