Cli task database save


(First, sorry for my bad language, i'm french!)

I've got a little problem with a CLI task for some cron jobs. I use bootstrap from Phalcon doc and added db service to connect to my db (mysql). I can read any data from the database, but i can't save datas. If i call save(), update(), create().... it won't have any actions on database, and no error message.

If anyone hase an idea to find where i'm wrong!

Thanks a lot



Check the privileges of database user.


Privileges are good. I've got a webapp using same user


Can you provide some code?


I only used Phalcon since 3 weeks and i sometimes make mistake about some functions. I found my error and it was 100% my fault! Thanks for the answers ;)