One of the features of the new platform that I am working on is the ability to automatically retrieve all new seismic activities before the end-user posts that there has been an activity. This will make the data transfer appear instantaneous to our clients and make us look all-around awesome.
So I have a script designed to run whenever I need it to automatically get any new activities and save them to the local database waiting for the end-user. I set it up to run every 15 minutes until I got the multitudes of old data into the new platform. I’m talking ~170,000 activities, and each activity takes about 45-90 seconds to process.
So below is my simple cronjob command to have it run every 15 minutes 24/7/365.
*/15 * * * * php /var/lib/symfony/cron/runcron.php >> /var/lib/symfony/cron/test_cron_log.log
Till Next Time