How to use pipeline schedule

I have just added a pipeline schedule to run every night on the master.
I have noted that no new commit has been done to the repo but still it builds the same commit every night.
Is there a way to not build already build commits?