'scheduled_job(trigger, args=None, kwargs=None, id=None, name=None, misfire_grace_time=undefined,             coalesce=undefined, max_instances=undefined, next_run_time=undefined, jobstore=\'default\',             executor=\'default\',**trigger_args)
A decorator version of :meth:`add_job`, except that ``replace_existing`` is always ``True``.
.. important:: The ``id`` argument must be given if scheduling a job in a persistent job store. The scheduler
cannot, however, enforce this requirement.'

def scheduled_job(self, trigger, args=None, kwargs=None, id=None, name=None, misfire_grace_time=undefined, coalesce=undefined, max_instances=undefined, next_run_time=undefined, jobstore='default', executor='default', **trigger_args):

    def inner(func):
        self.add_job(func, trigger, args, kwargs, id, name, misfire_grace_time, coalesce, max_instances, next_run_time, jobstore, executor, True, **trigger_args)
        return func
    return inner
