Cron job problem . . .

Status
Not open for further replies.

n3v3rl0v3

New Member
Messages
75
Reaction score
0
Points
0
here is the command i entered:
php-cron /home/user/public_html/domain.com/cron-ad-alert.php?pwd=password

Well, i replaced user with my userid, domain.com with my domain name and password with my actuall password. I had been trying my best to sort out this problem since 4 days but now i give up and just posted this issue.

but i am getting and error:

Status: 404 Not Found
X-Powered-By: PHP/5.2.5
Content-type: text/html

No input file specified.
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Are you using your main domain? If yes, remove the domain.com part.

I recieved these errors when I loaded cronad-alert.php on your main domain.

Warning: include(config.php) [function.include]: failed to open stream: No such file or directory in /home/********/public_html/cron-ad-alert.php on line 2

Warning: include() [function.include]: Failed opening 'config.php' for inclusion (include_path='.:/x10hosting/php2/pear/PEAR') in /home/********/public_html/cron-ad-alert.php on line 2

Warning: include(includes/functions.php) [function.include]: failed to open stream: No such file or directory in /home/********/public_html/cron-ad-alert.php on line 3

Warning: include() [function.include]: Failed opening 'includes/functions.php' for inclusion (include_path='.:/x10hosting/php2/pear/PEAR') in /home/********/public_html/cron-ad-alert.php on line 3

Warning: include(includes/mysql.php) [function.include]: failed to open stream: No such file or directory in /home/********/public_html/cron-ad-alert.php on line 4

Warning: include() [function.include]: Failed opening 'includes/mysql.php' for inclusion (include_path='.:/x10hosting/php2/pear/PEAR') in /home/********/public_html/cron-ad-alert.php on line 4

Fatal error: Class 'DB_sql' not found in /home/********/public_html/cron-ad-alert.php on line 5
 

n3v3rl0v3

New Member
Messages
75
Reaction score
0
Points
0
i dont understand u. should it be like:
/home/myusername/public_html/cron-ad-alert.php?pwd=password

??
is that so or what?
 

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
Yes, thats what Christopher meant, it should be
php-cron /home/user/public_html/cron-ad-alert.php?pwd=password
 

n3v3rl0v3

New Member
Messages
75
Reaction score
0
Points
0
ok thanks you for sorting out this problem. am closing thread now and will reopen if found any difficulty.
Thanks anyway.
 
Status
Not open for further replies.
Top