I have a problem with setting up cron


i am using the elgg version 3.3.9 and stumbled upon a problem while trying to set up the cron as it is described here: http://learn.elgg.org/en/stable/admin/cron.html

This is the cron task i specified:

* * * * * path/to/phpbin path/to/elgg/elgg-cli cron -q

(and yeah, i replaced the path/to/.. with the real paths :D)

i found the elgg-cli in /elgg/vendor/bin/elgg-cli 

i dont know if this is the elgg-cli i was supposed to use.

but when cron runs the task, i get the follwing feedback:

"You must use the command line to run this script"

I hope someone can help me :)