You need to run create_table.sql and insert_to_table.sql to create the tables, then run the other sql files. check.sql is used to check the results from other sql files.
time-interval-trigger is a module that triggers sync to the cloud only between midnight and 1AM. Otherwise, the data is captured but remains in the local directory until the next day at midnight.