Closed gianandreabertello closed 2 years ago
How can I assign the return from a function called by a job to a variable?
def launch1(param1): return 'done'
return_value (??) = schedule.every().day.at("08:35").do(launch1, param1)
Return values are not stored by the schedule library. If you want to store variables use class-fields or global variables.
How can I assign the return from a function called by a job to a variable?
def launch1(param1): return 'done'
return_value (??) = schedule.every().day.at("08:35").do(launch1, param1)