diff --git a/.gitignore b/.gitignore index 8b13789..ecfe485 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ - +testing_sql.txt \ No newline at end of file diff --git a/EXCHANGE_CONFIG.json b/EXCHANGE_CONFIG.json index eae8015..dab76a7 100644 --- a/EXCHANGE_CONFIG.json +++ b/EXCHANGE_CONFIG.json @@ -1,6 +1,6 @@ { - "host" : "127.0.0.1", - "user" : "admin", - "password" : "admin", - "database" : "classicmodels" + "host" : "34.87.185.41", + "user" : "data_extracter", + "password" : "XVzm3u8Ilemgxu5S", + "database" : "exchange_production" } \ No newline at end of file diff --git a/EXCHANGE_EXTRACT_SQL.json b/EXCHANGE_EXTRACT_SQL.json index ccf3663..5a62e81 100644 --- a/EXCHANGE_EXTRACT_SQL.json +++ b/EXCHANGE_EXTRACT_SQL.json @@ -1,10 +1,4 @@ { - "customers" : "SELECT * FROM customers;", - "employees" : "SELECT * FROM employees;", - "offices" : "SELECT * FROM offices;", - "orderdetails" : "SELECT * FROM orderdetails;", - "orders" : "SELECT * FROM orders;", - "payments" : "SELECT * FROM payments;", - "productlines" : "SELECT * FROM productlines;", - "products" : "SELECT * FROM products;" + "contacts" : "SELECT * FROM contacts;", + "transactions" : "SELECT * FROM transactions;" } \ No newline at end of file diff --git a/testing_sql.txt b/testing_sql.txt index 5236ed8..f97ad2b 100644 --- a/testing_sql.txt +++ b/testing_sql.txt @@ -12,4 +12,8 @@ "transactions" : "SELECT * FROM transactions;", "bookings" : "SELECT * FROM bookings;", "service_types" : "SELECT * FROM service_types;" -} \ No newline at end of file +} + + +grep CRON /var/log/syslog +grep 'mycmd' /var/log/syslog \ No newline at end of file