Jump to content

Wyświetlanie na ekranie


Guest kris_007

Recommended Posts

Test wget

 

#!/bin/sh

typ=2			# (0 TYPE_YESNO) (1 TYPE_INFO) ( 2 TYPE_WARNING) (3 TYPE_ERROR)
jak_dlugo=10 								# timeout w sekundach
godzina=`date +%T`						# godzina w formacie HH:MM:SS 
tekst='Aktualnie+jest+%0Agodzina++'$godzina'%0A%0AIdziesz+siku%0Ai+lulu.'		# dowolny tekst (+ spacja) (%0A nowa linia) ($ zmienna)

link='http://127.0.0.1/web/message?text='$tekst'&type='$typ'&timeout='$jak_dlugo
wget -O - $link > /dev/null 2>&1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...