Skip to content

Denniskamau/timemachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimeMachine

A python program that helps in tracking the changes made to a file by making use of cron job

Setting up

  • change the default location for both the config.dat file under the variable config in the script.

Handling cron

-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.

important links

-About subprocess.call() https://docs.python.org/2/library/subprocess.html

About

A python program to help keep track of changes made to a file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages