first commit
This commit is contained in:
37
robot.sh
Executable file
37
robot.sh
Executable 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
|
||||
Reference in New Issue
Block a user