Advanced batch routing - a more comprehensive tool than FBR (Friendly Batch Routing)
It's recommended you do not run this publicly as submitted Google API keys can be exposed.
- Create the DB and tables (see sql).
- Configure php/constants.php file and rename as php/constants_custom.php
- You will need to define DB config.
- Update the main path of the applicatioin.
- Customize the directories to store various data - also create the directories.
- Have all the necessary interfaces for MySQL, PHP, and Apache to communicate and operate.
- For example: libapache2-mod-php, php7.4-mysql, php-zip, php-curl, php7.4-curl
- Restart apache if necessary.
- Configure CRON to perform tasks:
# Process requests
* * * * * /usr/local/bin/php ~/www/abr/php/main.php
# Request zipping of bundle of queries
* * * * * /usr/local/bin/php ~/www/abr/php/zip_case_study.php
# Log drive space usage
10,40 * * * * /usr/local/bin/php ~/www/abr/php/analytics_data_collector.php - Test the above tasks in command line to check for any errors.
- Add a small amount of data to test. Test using live and 'anytime' data.