Python Repository Triggers

The following triggers are available in the repository script:

            
# OnPreSubmitChange is called before submit.  Return a warning string to prevent
def OnPreSubmitChange(stream,change,user,client,comment):
    return

# OnPostSubmitChange is called after a change is submitted
def OnPostSubmitChange(stream,change,user,client,comment):
    return

# OnEveryMinute is called every minute and can be used for schedule items
def OnEveryMinute(hour,minute):
    return

# OnEveryQuarterHour is called every 15 minutes and can be used for schedule items
def OnEveryQuarterHour(hour,minute):
    return

# OnEveryHour is called every hour and can be used for schedule items
def OnEveryHour(hour):
    return