I've installed a TYPO3 schedule but it doesn't schedule. I've setup a cron job every 5 minutes to run TYPO3 scheduler and in my syslog it prints me the line:
Oct 6 14:00:01 server /USR/SBIN/CRON[31775]: (root) CMD (/usr/local/bin/php /var/www/typo3/cli_dispatch.phpsh scheduler)
hence I think the cron job is working but in my TYPO3 backend I can't see the schedule. It seems that TYPO3 script isn't started properly. When I run cli_dispatch.phpsh from the shell it gives me many strange errors. The script has every user permissions needed. Thanks for any help!
When I start from terminal with sh cli_dispatch.phpsh scheduler it gives:
sh cli_dispatch.phpsh scheduler
cli_dispatch.phpsh: line 2: ?php: Datei oder Verzeichnis nicht gefunden
cli_dispatch.phpsh: line 3: /120120.tgz: Keine Berechtigung
cli_dispatch.phpsh: line 4: ajax.php: command not found
cli_dispatch.phpsh: line 5: ajax.php: command not found
cli_dispatch.phpsh: line 6: syntax error near unexpected token `c'
cli_dispatch.phpsh: line 6: `* (c) 2005-2008 Kasper Skaarhoj ([email protected])'
Does it work at all with fastcgi enabled?
When I start cli_dispatcher script PHP gives copyright message but in TYPO3 backend there is nothing not even in protocol. In setup check I've the last date from my manually bootstrap in TYPO3 but not from the cronjob or from my terminal.
I've enabled cli mode but php -v doesn't give any version information or cli hint?
Configure Command 'configure' '--enable-fastcgi' '--enable-force-cgi-redirect' '--with-gettext' '--with-mysql' '--with-dom=/usr/include/libxml2/libxml' '--enable-so' '--with-pcre-regex' '--prefix=/usr' '--datadir=/usr/share/php5' '--with-libdir=lib' '--includedir=/usr/include' '--with-config-file-scan-dir=/etc/php5/conf.d' '--enable-libxml' '--enable-filter' '--enable-session' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-inline-optimization' '--enable-zend-multibyte' '--disable-rpath' '--enable-cli' '--with-zlib' '--enable-soap' '--enable-mbstring' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--with-ttf' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/lib' '--with-curl=/usr/local/curl' '--with-readline'
I've also enabled cgi.check_shebang_line in my php.ini by accident.
/usr/bin/php /path/to/typo3/cli_dispatch.phpsh scheduler? Please check the return code withecho $?. Did you check theapacheandphperror log? - pgampeTYPO3version are you using? - pgampe