By default, postgresql operates in autocommit mode. That means that each SQL statement you execute Is immediately committed. This is what happens when you execute command using tools such as pgadmin or psql, assuming you do not execute BEGIN first.
I am guessing your scheduler framework is executing BEGIN before starting your job and that it expects you to commit the work as part of the job.
Without knowing more details about the scheduler it is impossible to be more specific.