I am still having difficulty in getting the Cron job to run a php file.
You may recall that I mentioned a couple of days ago that I have a cron
job:
#!/usr/local/bin/php -q
[EMAIL PROTECTED]
00,10,20,30,40,50 * * * * php /home/e/l/eleganthomes/public_html/cron.ph
p > /home/e/l/eleganthomes/public_html/cron.log

To simplify my testing, cron.php doesn't even do anything - cron.php
simply contains 
<?
#!/usr/bin/php
?>
and nothing else (Is that what you meant, James?) - but still gives me
the error
/usr/libexec/ld-elf.so.1: Shared object "libintl.so.5" not found,
required by "php" 

I created the crontab using Putty, logging in as admin.

I know that the admin user cannot execute a file in another users home
directory, but it is in the main root of the website.

I have been told that I need to create a user with the same username,
path and UID as that of the account that I am running the script from.
I can't see what username that should be.

I have been told to use the command
pw user add USERNAME -s /bin/bash -d /home/y/o/yourpath/public_html -u
2003 
but I am not sure what username to use.

Help!

-- 
Pete Clark

http://www.hotcosta.com
http://www.spanishholidaybookings.com




Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to