12528 Members
237 Forums
7811 Topics
24004 Posts
Max Online: 9115 @ 08/24/24 07:30 PM
|
|
|
13 registered (Admin, Toysoft, tomash, OMEGA, Smokey, haki, bobot, karimkaki15, goode men, Franco89, raffsif1234, didond, gerolamo),
1525
Guests and
142
Spiders online. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
|
|
|
#214 - 05/07/13 11:49 PM
Automatic Set-Time script (can be used with CRON)
|
Japhar Member
Carpal Tunnel
Registered: 10/19/10
Posts: 9993
|
Automatic Set-Time script (can be used with CRON) in Python (OE1.6/2.x) IPK to install, and use SetTime.sh script in /usr/script, Example of command in CRON to set the time every hour : * */1 * * * /var/script/SetTime.sh Admin Per quanto riguarda i cron, forse lo sai ma te lo scrivo ugualmente:
fai crontab -l > pippo.txt Editi pippo.txt (con vi o come ti pare), poi per
i parametri del cron, direttamente da wikipedia:
# I------------- min (0 - 59)
# I I-------------- hour (0 - 23)
# I I I--------------- day of month (1 - 31)
# I I I I---------------- month (1 - 12)
# I I I I I----------------- day of week (0 - 6) (0 to 6 are Sunday to
# I I I I I Saturday, or use names; 7 is Sunday, the same as 0)
# I I I I I
# * * * * * command to execute
30 22 * * 6 (= esempio)
= Vuol dire che il tuo comando girera alle 22:30 di tutte i sabati...
Attachments
enigma2-features-set-time_1.0_all.ipk (38 downloads)
_________________________
|
Top
|
|
|
|
|
#4548 - 12/29/15 10:22 PM
Re: Automatic Set-Time script (can be used with CRON)
[Re: Admin]
|
VIP Japhar
journeyman
Registered: 07/30/15
Posts: 93
|
thank you
it help when using a box for iptv only, because without satellites the time is not correct.
by kikan
|
Top
|
|
|
|
|
#4549 - 12/29/15 10:34 PM
Re: Automatic Set-Time script (can be used with CRON)
[Re: Admin]
|
Japhar Member
Carpal Tunnel
Registered: 10/21/10
Posts: 2649
|
For OpenPli 4.0, do this
Just install the ipk attached, it will do all ;o)
TS
Attachments
enigma2-features-set-time_1.0_openpli40_all.ipk (34 downloads)
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910 Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/
|
Top
|
|
|
|
|
|
|