Stop-watch without using date command in shell script
set -e
i=00;
for i in $(seq -f %02g 0 24);
| from flask import Flask, flash, render_template, request, redirect, url_for | |
| from pymongo import MongoClient | |
| from bson.objectid import ObjectId | |
| import os | |
| # we're passing mongo's IP as env variable to docker run command | |
| mongohost = str(os.environ['MONGOHOST']) | |
| DEBUG = True | |
| app = Flask(__name__,template_folder='./templates') |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Mongo-CRD</title> | |
| <link rel="shortcut icon" type="image/jpg" href="http://mongodb-js.github.io/leaf/mongodb-leaf_512x512.png"/> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
| <script> |
Stop-watch without using date command in shell script
set -e
i=00;
for i in $(seq -f %02g 0 24);