hi...
If i put the
#!/usr/bin/php -q
I get this error for the corn:
/bin/bash: /home/e-smith/files/ibays/dd_/html/dbdump.php: /usr/bin/php: bad interpreter: Permission denied
But if i put it directly in the cron job line like this :
16 * * * * root /usr/bin/php -q /home/e-smith/files/ibays/dd_/html/dbdump.php
It went almost okay, except i got a php warning mail...
Failed loading /usr/lib/php4/php_accelerator_1.3.3r2.so: /usr/lib/php4/php_accelerator_1.3.3r2.so: cannot open shared object file: No such file or directory
I know that this "bug" come up becourse that on the server the script is running the php file i miored from another server with this script installed, and it is not (yet) installed on this server
So what the diferent is between this 2 options you posted is and why only the one worked for me i dont know, but tha fackt is that itøs working

Thanx
You should explain to linux, that you want php to run the script, so start the script with:
#!/usr/bin/php -q
<?php
Or, you can change the cron entry to something like:
45 * * * root /usr/bin/php -q home/e-smith/files/ibays/dd_/html/dbdump.php