Script Ipsec mikrotik doesn't work

Hi, everyone!

I wrote one simple command that works in terminal, but when i did it in script or schedule it doesn’t work. (I’m in v6.49.7)

For example:
/ip ipsec policy enable 68

Does anyone know anything other than updating?

Thanks!

68 do not exist in script.

You must use “find”.

The forum is full of examples.