[TYPO3] Problems with cronjob!
Claus Bach
privat at clausbach.dk
Fri Jun 8 14:26:51 CEST 2007
Hi,
I still have problem with my cron job.
My provider tells my that it is not possible to excecute lynx and wget
on the server. When I try I get: "Permission denied". He can't tell my
what textbrowser I can use, but that TYPO3 will place a browser in
usr/bin/. I have tryed to find something about that in the
documantation, but I couldn't.
Actually I don't undertand why I can't excecute lynx on the server.
Isn't it a question about a permission ? If anybody else can do it .....
Hope somebody can help!
Regards, Claus
Georg Rehfeld skrev:
> Hi Claus,
>
>> But I still have problems. I have changed the command to:
>>
>> lynx -dump
>> http://www.teamlillebaelt.dk/net/typo3conf/ext/chc_forum/mailer/mailer.php
>>
>>
>> And now I get the reply:
>>
>> /bin/sh: /usr/bin/lynx: Permission denied
>>
>> Do you know if it is permission to execute lynx ?
>
> Yes, the error message means: no permisssion to execute /usr/bin/lynx.
> Check the permisssions, they should be 755 (-rwxr-xr-x) and the file
> should be owned by root. But it would be a big surprise, if it were
> different. If the permissions are OK the error message is strange,
> because cron normally runs as root. Check that with
> "ps aux | grep cron".
>
> Can you try the cron command on a shell?
>
> If you have no shell access, ask your provider for assistance.
>
> Until then you could set up the same/similar cronjob on some different
> machine you have access to, as it is totally unimportant which browser
> actually requests the mailer.php script.
>
> regards, Georg
More information about the TYPO3-english
mailing list