Hi, I've searched the board but couldn't find a topic on this subject. Help lolll
I have installed Magento 2.0 and trying to get cron jobs going but getting errors on every magento cli commands that I throw at PuTTy.
Magento v2 hosted on a VPS and I have access to the command by SSH/PuTTY. Logged on as Magento files owner, issued the chmod u+x bin/magento already, E.G: typing ./magento --list or ./magento -l and getting error below:
email@example.com [~/public_html/bin]# ./magento -l
Parse error: syntax error, unexpected '[', expecting ')' in /home/magesbkx/public_html/bin/magento on line 22
I can confirm that cli is working fine/enabled on the server because I can get php scripts to hello world, etc. I just can't get any magento commands to work. Are there any sort of quick debug tests/cmd that I can put to my php cli console?
How to debug this thing?!