Could someone help me out? For the simple-python-job cronjob question, I am getting the question wrong and I do not know why. Comparing my yaml to the solution, I am unable to distinguish a difference. The error says that I have the wrong command.
Having the exact same issue. I have the exact same yaml definition file but for some reason it doesn’t validation check doesn’t pass. My yaml file for reference.
@mmkmou I created the cron job in the correct namespace ckad-job. I think you are referring my local yaml file and mentioning there is no namespace defined.
Please refer my all the screenshots that clearly shows my job was running in the right namespace. I set the context with correct namespace and used the yaml file. so the cron job is running in the correct namespace. It’s not validated correctly it seems as I don’t any issue here
Hi, if it still interests you - or anyone else, who might have this problem - your solution is good.
Have a look at the ps -eaf command.
The - sign in the suggested solution is wrong, it is not the minus sign, but an en dash.
Compare
ps –eaf / wrong
ps -eaf / right
If you paste into your solution the command from the suggestion:
In Python, ps –eaf can be use to list all the running processes.
It will be green, but wrong.
I have observed is one of the (repetitive) question where the solution expects a certain format in command, if it’s not met your task is graded incomplete even though the command + arguments works.