for (x = 1; x < 5; x++) {
/*
setTimeout(function(){
clickRecordSearch(0, ip_nvr, x, "2017-05-17 00:00:00", "2017-05-17 23:59:59", num_nvr); //channel num as is, without shift
}, 500);
*/
(function(x) {
setTimeout(function() {
clickRecordSearch(0, ip_nvr, x, "2017-05-17 00:00:00", "2017-05-17 23:59:59", num_nvr); //channel num as is, without shift
}, 500);
})(x);
}
$().ready(function() {
if ($(window).width() > 750) {
var $scrollingDiv = $("#scrollingDiv");
$(window).scroll(function(){
$scrollingDiv
.stop()
.animate({"marginTop": ($(window).scrollTop() + 0) + "px"},300);
});
}
});
import os
os.system('./executable.sh')
import os
os.system("sh ./executable.sh")
import subprocess
subprocess.call(['./executable.sh'])