I create a command controller (to run in Linux schedule) that need to do an insert batch (it’s in a model). However when I execute the command in terminal I got the error ‘The table does not exist: {{%SGR_QUESTIONARIO_DIARIO}}’
The weird thing is, when I execute the same model in a normal controller (accessed via URL) it works perfectly.
I don’t know if the message would look like this {{%SGR_QUESTIONARIO_DIARIO}}, with or without a possible prefix in effect. If prefix is used, are you sure the prefix config is the same for web as well as console?
So, I some some tests and modifications, now when I execute the comand via terminal, it runs apparentelly without error, but when I chek the insert in my database it do not happen.