I want to schedule a CRON job into AWS Ubuntu instance. I have a simple cron sample like the following:
import pandas as greatPanda import pprint import uuid df = greatPanda.read_csv('/home/soumik/appTornado/di/ABP/df.csv') pprint.pprint(df) name = '/home/soumik/appTornado/di/ABP/df_'+str(uuid.uuid4())+'.csv' df.to_csv(name,index=False)
And I have set the CRON like the following with
crontab -e into terminal:
*/1 * * * * python /home/ubuntu/ABP/abp_backend_processing/cronSample.py > /home/ubuntu/ABP/abp_backend_processing/cronlog.txt
The sample code has been run into my local machine with proper CRON functionality but can not find any luck into AWS instance.