hashes tient compte du cache
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user