This 'Daemon' is a PHP script that runs in the background checking a table every so often and seeing if there are files waiting to be imported. if not it goes to sleep for a pre-determined amount of time that is in the config.inc.php file. The daemon isn't needed to run the DB or even import lists, its really just an experiment that I have. Other then that there isn't too much more in this release.
And as always comments are welcome.
Packages: https://sourceforge.net/project/showfil ... _id=669476
SVN: http://vistumbler.svn.sourceforge.net/v ... athrev=306
-Phil
-------------------------------------------------------------------------------------------------------
Daemon Readme:
The WiFiDB daemon is just a php script that I wrote that runs in the backgound
and checks a fils_tmp table to see if there are any files wating to be imported.
If there is a file or more then one, it will atempt to import them.
There is a file called rund.php that starts/stops/and restarts the daemon. To use
type 'php rund.php [start,stop,restart]'. This script will only run on linux
based systems. Windows is NOT supported. This is also an optional item it is not
needed at all to run WiFiDB. To turn it on or off in the DB itself go to the
config.inc.php in the lib folder of where you have your WiFiDB installed, and
change the variable named sched to 0 (off) or 1 (on).
To change settings for the daemon itself go to the daemon folder inside the tools
folder and open the config.inc.php file and change sleep to the number of seconds
that you want to sleep before checking the files_tmp again, there is a safety so
you cannot set it less then 5 min.
-------------------------------------------------------------------------------------------------------
Changes for WiFiDB 0.16 Build 2:
- 1 ) Changed the Import Page Layout so that it now summerizes the GPS import into.
- A) New: Good,Bad
B) Update: Good,Bad
C) Already in Database:
3 ) Most, if not all pages now have the footer() and pageheader() function to standardize page layout.
4 ) Fixed an issue where if there is no MAC/Sectype/Chan/Radio it would just be blank, and cause errors on fetch.- A) New Defaults:
B) Mac (00:00:00:00:00:00)
C) Sectype (0)
D) Chan (0)
E) Radio (u)
6 ) Moved the code from insertnew.php into the index.php file, this is for the token that has been added for validation.
7 ) Added a comment tag to <i>`line 2`</i>of the KML exports to tell if it was a Full DB/Users list/Single AP/All Users APs/All Signal for AP.
8 ) Made the tables that hold the page one table so when there is a skeew in the page doesnt get deformed like it did before. (I'm not a GUI person).
9 ) Fixed some formating issues with the install/upgrade/patching paths.
10 ) For Security reasons, temparaly will be using hard links for the side links, untill furtur notice.
11 ) Added a 'daemon' of sorts. This is optional uppon install, and changeable afterwards in the config file. <br>Notes are in the readme.txt of the tools folder. - A) New: Good,Bad