diff --git a/examples/python/basic_test.py b/examples/python/basic_test.py index dcd301c9..9ed88f9a 100644 --- a/examples/python/basic_test.py +++ b/examples/python/basic_test.py @@ -9,7 +9,7 @@ data = { "name": "test_job", - "command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "../example-kala-commands/example-command.sh", + "command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "/../example-kala-commands/example-command.sh", "epsilon": "PT5S", } diff --git a/examples/python/example_dependent_jobs.py b/examples/python/example_dependent_jobs.py index 6289e3c4..4644e03c 100644 --- a/examples/python/example_dependent_jobs.py +++ b/examples/python/example_dependent_jobs.py @@ -10,13 +10,13 @@ scheduled_start = datetime.isoformat(datetime.now(tzlocal()) + timedelta(0, 10)) parent_job = { "name": "test_job", - "command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "../example-kala-commands/example-command.sh", + "command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "/../example-kala-commands/example-command.sh", "epsilon": "PT5S", "schedule": "%s/%s/%s" % ("R2", scheduled_start, "PT10S"), } child_job = { "name": "my_child_job", - "command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "../example-kala-commands/example-command.sh", + "command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "/../example-kala-commands/example-command.sh", "epsilon": "PT5S", }