一个监控数据库的小脚本
可以通过运行这个脚本来监控数据库中的一项值的变化,来用0,1来判断这个值。-a small monitoring database scripts can run this script to monitor a database of the change, used to 0, 1 to judge the value.
用来在Linux下遍历目录,相当于find命令,是练习嵌套和回调函数的好例子。-It can be used to look through directory ,equal to find .It is a good example to pratice embed function and call faunction.