Hi @Lukasz Kurzysz,
I think your schedule might be off. The second value in the NCRONTAB expression should be minute. It could also be due to DST if your function is deployed to North America based region that doesn't have the time zone set.
Having said that, I would adjust your schedule
property to "0 0 */2 * * *"
. This will ensure your trigger is runs every two hours at the top of the hour. Furthermore, if the database call isn't too intensive, the I would just make the db call when the function is invoked to keep things simple.