# purpose: since secure boot enabled esxi not allows modifications of /etc/profile to do custom tasks
# but it looks like it is allowed to run py scripts with SB enabled? try this and let a py script generate and set custom commands

import os
#import subprocess

print("Hello,World!")
#subprocess.Popen('echo "echo shell out" >> /tmp/blabla',shell=True)
os.system('echo "inside"')
os.system('pwd')

cwd = os.getcwd()

file = cwd + "/cronjob.sh show"

print (file)

os.system(file)

