If you are using only minute then replace by this
setTimeout(automaticTime,60000);
Which means function will call for every one minute;
If you are using only minute then replace by this
setTimeout(automaticTime,60000);
Which means function will call for every one minute;