How can I automate running of 3 python scripts. Suppose, I have 3 scripts say a.py,b.py and c.py.
Here a.py runs a web crawler and saves it as a xml file. Now b.py parses the xml file generated and saves as a pickle file. Now c.py inserts the list from pickle file to database.
Is there a way to automate this?
Write a wrapper python script that imports a, b and c and runs then in sequence (with error checking, notification and accounting). Then schedule this wrapper using the system cron daemon (if on UNIX).
how to automate running a python script