06-14-2022 03:59 AM
Solved! Go to Solution.
06-15-2022 03:34 AM
userName = emc_vars["userName"]
wf_name=emc_vars["workflowName"].replace(' ','_')
wf_dateTime=time.strftime('%Y-%m-%d_%H-%M-%S',time.localtime(int(emc_vars["workflowUpdatedDateTime"])/1000))
output_dir = os.path.join("/usr/local/Extreme_Networks/NetSight/appdata/logs/scripting/",userName)
The user that runs the scheduled jobs is "NetSight Server" with a space!06-15-2022 03:34 AM
userName = emc_vars["userName"]
wf_name=emc_vars["workflowName"].replace(' ','_')
wf_dateTime=time.strftime('%Y-%m-%d_%H-%M-%S',time.localtime(int(emc_vars["workflowUpdatedDateTime"])/1000))
output_dir = os.path.join("/usr/local/Extreme_Networks/NetSight/appdata/logs/scripting/",userName)
The user that runs the scheduled jobs is "NetSight Server" with a space!