first commit

This commit is contained in:
2018-09-02 10:26:34 +02:00
commit a62ea0fa19
53 changed files with 3823 additions and 0 deletions

37
robot.sh Executable file
View File

@@ -0,0 +1,37 @@
#!/bin/bash
#
# VARIABLES
#
export APPS_PATH=`dirname "$(readlink -f "$0")"`
export TMP_PATH=$APPS_PATH/../tmp
export DATA_PATH=$APPS_PATH/../data
export FLAG_PATH=$APPS_PATH/../flags
export MINUTE=`date +%M | sed 's/^0*//'`
export DATE=`date +%Y%m%d0000`
#
# Synchronize the Blockchain
#
$APPS_PATH/scripts/synchronize.sh
#
# Draw the HASHES
#
$APPS_PATH/scripts/hashes.sh
#
# Draw the BLOCKS
#
$APPS_PATH/scripts/blocks.sh
#
# Send a TWEET
#
$APPS_PATH/scripts/tweet.sh
#
# Clean OLD DATA
#
$APPS_PATH/scripts/clean_data.sh