#NEWLINE# def add_scheduler_job( self , job_class_string , name , pub_args = None , month = None , day_of_week = None , day = None , hour = None , minute = None , **kwargs ) : #NEWLINE# #INDENT# 'Add a job. Job infomation will be persistent in postgres.\n\n        This is a NON-BLOCKING operation, as internally, apscheduler calls wakeup()\n        that is async.\n\n        :param str job_class_string: String for job class, e.g., myscheduler.jobs.a_job.NiceJob\n        :param str name: String for job name, e.g., Check Melissa job.\n        :param str pub_args: List for arguments passed to publish method of a task.\n        :param str month: String for month cron string, e.g., */10\n        :param str day_of_week: String for day of week cron string, e.g., 1-6\n        :param str day: String for day cron string, e.g., */1\n        :param str hour: String for hour cron string, e.g., */2\n        :param str minute: String for minute cron string, e.g., */3\n        :param dict kwargs: Other keyword arguments passed to run_job function.\n        :return: String of job id, e.g., 6bca19736d374ef2b3df23eb278b512e\n        :rtype: str\n\n        Returns:\n            String of job id, e.g., 6bca19736d374ef2b3df23eb278b512e\n        ' #NEWLINE# if ( not pub_args ) : #NEWLINE# #INDENT# pub_args = [ ] #NEWLINE# #UNINDENT# job_id = utils . generate_uuid ( ) #NEWLINE# arguments = [ job_class_string , job_id ] #NEWLINE# arguments . extend ( pub_args ) #NEWLINE# scheduler_class = utils . import_from_path ( settings . SCHEDULER_CLASS ) #NEWLINE# self . add_job ( scheduler_class . run_job , 'cron' , month = month , day = day , day_of_week = day_of_week , hour = hour , minute = minute , args = arguments , kwargs = kwargs , name = name , id = job_id ) #NEWLINE# return job_id