Forums / General / How to run runcronjobs.php from browser?

How to run runcronjobs.php from browser?

Author Message

Lazaro Ferreira

Thursday 09 September 2004 4:34:37 am

Hi,

We would like users can manually run runcronjobs.php via browser and "on demand" instead of waiting for next time cron run

After changing rewrite rule at apache httpd.conf, We got the error :

#!/usr/bin/env php PHP is currently using the 'apache2handler' interface. Make sure it is using the 'cli' interface.

I understand that runcronjobs.php expects php cli interface in order to run, but on the other hand I understand that I need apache php module to run the web site

Any recommendation to run the cronjobs via browser and on-demand ?

Thanks
Lazaro

Lazaro
http://www.mzbusiness.com