I am setting a cron job on my linux server.
So i am writing a shell script for it,which invoke after every 20 minutes.
In this shell script i need to do following:
I want to executed a php script if something changed(in last 20 min) in mydata.csv file.
So plese tell me how can i do this?
-Thanks
Execute the PHP script
Disclaimer: The path to your PHP binary may differ
Also see http://www.linuxforums.org/forum/programming-scripting/107278-how-prgrammatically-compare-file-timestamp-against-currrent-time.html