How call function inside another function Firebase function ionic 5

I have the following method

export const teste = functions.database.ref('teste/{id}/').onCreate(async (snapshot, context) => {
    // call dailyJob ()
});

how can I call the next function after insert data

 export const dailyJob = functions.pubsub
    .schedule('every 1 minutes').onRun(context => {
       console.log('This will be run every day at 5:30AM');
    });