Unable to run python script via Autosys.
search cancel

Unable to run python script via Autosys.

book

Article ID: 185723

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent Autosys Workload Automation

Issue/Introduction

Unable to run Python script via Autosys, getting error as below in spool file.

Mon Feb 24 15:40:02 2020 CAWA_I_20022 Process created with pid: 3276

Mon Feb 24 15:40:02 2020 CAWA_I_20018 Job failed. Exit code 2, Status: "The system cannot find the file specified."

Environment

Release : 12.0 or above

Component : CA Workload Automation AE (AutoSys)

Cause

The path of the script is not defined or valid

Resolution

Define full python script path in the job.

command: python "D\\:\ Programs\XX\scriptname.py" --url "http\\path"