In message <[EMAIL PROTECTED]>, Pete <[EMAIL PROTECTED]>
writes
>
>I have just set up a Crontab, using Putty.  I want it to run test.php,
>which I have located, for the sake of this test, at
>mydomain.com/test.php.  

That was quick  - someone has just pointed me to the page:
http://www.htmlcenter.com/tutorials/tutorials.cfm?id=155&type=PHP
where I found that my crontab was wrong, because on this server, Server
API is set to CGI  - so now I have:

#!/usr/local/bin/php -q
00,10,20,30,40,50 * * * * php /home/e/l/mydomain/public_html/cron.php

However, the webpage (above) tells me to test it:
"Execute the following from the command line: 
Shell> crontab crontab "

So, bearing in mind that I am a blind man in a strange land, I type in:
[EMAIL PROTECTED] /bin/sh
$ crontab crontab
crontab: crontab: No such file or directory
$

I think I need to CD somewhere...  

-- 
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