eZ Community » Forums » Setup & design » Help runcronjobs.php

Help runcronjobs.php

Help runcronjobs.php

Tuesday 01 October 2013 2:03:43 pm - 4 replies

I need help with runcronjobs.php, intent to execute the script using http://localhost/proyect/runcronjobs.php and the following message is shown: #!/usr / bin / env php PHP is currently using the 'apache2handler' interface. Make sure it is using the 'cli' interface.
I use XAMPP 1.7.3 in windows xp sp3. please well explained help.
I have already read some comments and I don't understand with clarity the procedures to execute it.
alone I need to install the extension ezflip, which requires to execute script is: php runcronjobs.php - s < siteaccess > ezflip

Tuesday 01 October 2013 8:53:18 pm

Hello Edixon,

Remember that the runcronjobs script has to be run on the command line and not over the web.

It just won't work if you try to run it over the web for technical reasons like timeout.


I hope this helps ...



Wednesday 02 October 2013 2:04:03 pm

For those that could need it executes script runcronjobs.php in WINDOWS XP and XAMPP:
If you use XAMPP, as servant web and you need to execute runcronjobs.php it follows these instruciones:
1. You see to the PANEL OF CONTROL XAMPP
2. There is cli in "Shell"
A window of commands was shown, then you make cd / htdocs / mysite, you give enter and you execute your script. 

Tuesday 15 October 2013 2:07:41 pm

Be sure you are using the absolute path for PHP, for example:

cd ~/ezpublish_legacy; /usr/php/54/usr/bin/php-cli runcronjobs.php frequent infrequent -ssite

On the command line, you can use these commands to get more information:

[~]$ which php
[~]$ php -v
PHP 5.3.27 (cli) (built: Jul 12 2013 10:35:16)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
    with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans

Tuesday 21 January 2014 6:37:08 am

It just won't work if you try to run it over the web for technical reasons like timeout.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from