hashes tient compte du cache

This commit is contained in:
2018-12-29 09:56:36 +01:00
parent b1ed2170f6
commit 3c7acc8443
12 changed files with 53 additions and 42 deletions

View File

@@ -69,7 +69,7 @@ if (file_exists($image_file))
// ---
// --- Tweet
// ---
$tweet = "#bitcoin #blockchain 's".PHP_EOL;
$tweet = "#computerart : #bitcoin #blockchain 's".PHP_EOL;
$tweet .= $argv[2]." Block, Height : ".$the_block->height.PHP_EOL;
$tweet .= "[ See more on www.topisto.net ]";
$success = twitter::tweet($tweet, $image_file);

View File

@@ -21,8 +21,9 @@ do
then
php robot.php $BLOCK CONFIRMED hashes2hashes
touch $DATA_PATH/twitterbot/assemblage_$BLOCK
rm -f $flag
exit 0
#rm -f $flag
#exit 0
sleep 30
fi
done