I am attempting to schedule a job to run on a linux server from a python app on Windows 10 by using os.system(). The following code executes but fails to schedule the job.
os.system('ssh myadmin@mnop.com "at 09:00 {}".format("iostat > /home/myadmin/t.txt")')
os.system('ssh myadmin@mnop.com "crontab 0 9 9 1 * /home/myadmin.msg.sh"')
My objective is to schedule a one time execution. Thanks for suggestion.