eZ Community » Forums » Install & configuration » Another way to pass the parameters to...
expandshrink

Another way to pass the parameters to runcronjobs.php

Another way to pass the parameters to runcronjobs.php

Wednesday 28 July 2010 9:33:46 pm - 1 reply

Hello.

Is it possible to pass the prarameters to the runcronjobs.php script as ...mysite.com/runcronjobs.php?parameter1=xx&parameter2=yy

Aparently, my ISP only suports this format for configuring cronjobs (no ssh access).
If posible, how should this one be?:

php runcronjobs.php -s site_admin sendmail

Thanks

Modified on Wednesday 28 July 2010 9:36:51 pm by Kiko Magán

Wednesday 28 July 2010 9:45:12 pm

Afaik, it is not possible - it would also be considered a big securoty breach if it was - any user could trigger execution of existing cronjobs with teh desired parameters...

Otoh it might be interesting to wrap the runcronjobs script in a properly secured module+view. The problem is timeouts and excessive memory usage...

The ezscriptmonitor extension should be the solution for these kind of needs

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from