I want to schedule a CRON job of a python file (ex: test.py) present at a server location (ex: X.X.X.X/home/myname/test.py). The CRON has to be set up using hive.
I did some research and found the below articles that came close to what I want to do. To schedule a hive query on Crontab
echo "Starting of Job"
hive -e 'select * from mytest.empl'
echo "Script ends here"
I want the hive query to be replaced by code which enable it to run the python file.