General update
This commit is contained in:
parent
30f0e442f4
commit
adcc3d225d
15
st.sh
15
st.sh
@ -1,9 +1,8 @@
|
||||
wget https://nashe1.hostingradio.ru:18000/nashepunks.mp3 &
|
||||
th1=$!
|
||||
echo _###################
|
||||
echo $th1
|
||||
echo _###################
|
||||
while :
|
||||
do
|
||||
wget https://nashe1.hostingradio.ru:18000/nashepunks.mp3 &
|
||||
th1=$!
|
||||
|
||||
sleep 2s
|
||||
|
||||
kill -9 $th1
|
||||
sleep 5m
|
||||
kill -9 $th1
|
||||
done
|
||||
|
8
up.py
8
up.py
@ -1,14 +1,12 @@
|
||||
from os import system as ss
|
||||
import os
|
||||
from os import listdir,system as ss
|
||||
from datetime import date
|
||||
today = date.today()
|
||||
import time
|
||||
|
||||
files = os.listdir()
|
||||
today = date.today()
|
||||
files = listdir()
|
||||
|
||||
for i in files:
|
||||
tim = today.strftime("%d.%m.%Y_"+time.strftime("%H:%M", time.localtime()))
|
||||
#print(tim)
|
||||
|
||||
tp = i[i.find('.') + 1:]
|
||||
if tp == "mp3":
|
||||
|
Loading…
Reference in New Issue
Block a user