The first line defines the interpreter incorrectly, you need
Note the exclamation mark
Also, it looks like you're trying to write to the root dir (of the disk, not root user's home dir).
/httpfedora.net.id190120092001.txt: Cannot create file.
You need to be careful where you run it from, or specify the path to write to (latter preferred for when its in cron, later)
When using embedded vars in a value, I recommend using extra parentheses
http$NAME$TIME.txt
becomes
http${NAME}${TIME}.txt
try adding
set -xv
as the 2nd line in the shell file to see what's happening