A python program that helps in tracking the changes made to a file by making use of cron job
- change the default location for both the config.dat file under the variable config in the script.
-To schedule the task carry out the following command :
-Give the absolute path for python: /usr/bin/python3
-Give the abolute path for the python program: /home/dan/Desktop/dante/timemachine.py
-open the crontab from the terminal: crontab
-pass in both commands when they are concaneted: * * * * * /usr/bin/python3 /home/dan/Desktop/ dante/timemachine.py
-This will run the program every minute.
-About subprocess.call() https://docs.python.org/2/library/subprocess.html