'Cleanup any scheduled tasks'

@staticmethod
def req_req_ondelete(row):

    db = current.db
    table = db.scheduler_task
    query = ((table.function_name == 'req_add_from_template') & (table.args == ('[%s]' % row.id)))
    db(query).delete()
