Forums / Setup & design / Running cronjobs on admin interface

Running cronjobs on admin interface

Author Message

Adolfo Barragán

Monday 21 February 2005 9:11:27 am

I need send notifications to my users but I don't have access to PHP client on my hosting provider, so I can't execute "runcornjobs.php".

How can I solve this?

Thanks in advance
Adolfo Barragán

Mark Marsiglio

Friday 25 February 2005 7:35:52 am

did you try going to http://yoursite.com/runcronjobs.php in a browser? This works on many out-of-the-box installations, but is not very secure (can lead to denial of service attacks).

Alternately, your better bet is to work with your host to schedule the cron jobs for you so they run automatically.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Adolfo Barragán

Monday 28 February 2005 11:51:47 pm

> did you try going to http://yoursite.com/runcronjobs.php in a browser?

Yes, But I receive this error:

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

I talk with my hosting provider and they tell me PHP cli is disabled.

Again, How can I solve this

Adolfo Barragán

Łukasz Serwatka

Tuesday 01 March 2005 12:02:55 am

As log as PHP using Apache interface you can`t run this script. Ask administrator, maybe he could enable CLI interface.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog