UPDATE classifieds_cronjob SET id='1', title='Check advertisement expirations', lastExecutionTime='1624125171', frequency='24', active='1', function='checkExpiration();' WHERE id='1'

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function='checkExpiration();' WHERE id='1'' at line 1