PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Oct 19, 2019 3:27 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Help To Run CronJob
PostPosted: Fri Dec 11, 2009 1:10 am 
Offline
Forum Commoner

Joined: Wed Mar 04, 2009 2:54 am
Posts: 88
Location: Lahore
Hi!
my cronjob run but give an error in my php file like that

/home/contacse/public_html/cronjob.php: line 1: ?php: No such file or directory
/home/contacse/public_html/cronjob.php: line 3: syntax error near unexpected token
`'localhost','contacse_project','
/home/contacse/public_html/cronjob.php: line 3: `mysql_connect
('localhost','contacse_project','


If I execute this file myself then this is ok but when cronjob execute this file then give above errors.
Please help me that what is the solution for this.
Thanking you


Top
 Profile  
 
 Post subject: Re: Help To Run CronJob
PostPosted: Fri Dec 11, 2009 2:08 am 
Offline
Forum Commoner

Joined: Wed Mar 04, 2009 2:54 am
Posts: 88
Location: Lahore


Top
 Profile  
 
 Post subject: Re: Help To Run CronJob
PostPosted: Mon Jan 11, 2010 9:44 am 
Offline
Forum Newbie

Joined: Mon Jan 11, 2010 9:40 am
Posts: 1
thanks shafiq!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group