php cli

kanary

Verified User
Joined
Jun 8, 2007
Messages
79
Location
Holland - Het westland
For cronjobs i wanna use php cli but when i ececute this line in shh with putty

php /home/accountname/domains/domainname.nl/Cronjob/page.php

It execute without error but it doesnt fill my database or print some test lines.

For sure php cli was installed i recompile it again but it didnt help.

maybe the shortcut php doesnt exists on my server or there is another problem does any one knows how to fix this ?
 
You sure your PHP file is written correctly? It may not error out, but it may not fill your database correctly either.

PS: You can also turn on error reporting in MySQL to see what your script is doing I think.
 
You sure your PHP file is written correctly? It may not error out, but it may not fill your database correctly either.

PS: You can also turn on error reporting in MySQL to see what your script is doing I think.

it doesnt do any thing if i make an php file with the next code it doesnt print it doesnt do any thing

PHP:
<?php print 'test'; ?>
 
Back
Top