Running a job where the date matches the date of the previous successful execution

Discussion created by Judith_Gitahi_1741 on Feb 16, 2017
Latest reply on Apr 18, 2017 by Wolfgang_Brueckler_1288

I am trying to call a python script in AE. The first step should look something like this D:Python35-32\python.exe D:pythonscript.py YYYY MM DD *
* the date should match the date of the previous successful execution. (the job will be running on saturdays)

How do I pass the last execution date?