Can't run command on Autostart

I am trying to run following command nmcli con up id. I have saved command in Autostart list, but it won’t run.

use nmcli con show to show name of the network. verify that your command runs in the terminal:

nmcli con up id "Wireless 1" #example

It runs in terminal when I insert network name