Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12403 Members
237 Forums
7723 Topics
23804 Posts

Max Online: 4756 @ 02/20/20 11:12 PM
Newest Members
Mekaho, djmed, kiki21, nobles, Josef Novak
12402 Registered Users
Who's Online
10 registered (Admin, Toysoft, OMEGA, 1966, bitgames, Herrleon, d2mac, fabrizio77, misup, Mekaho), 1180 Guests and 303 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9876
Toysoft 2634
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 18
dmr 8
Rtm79 4
Toysoft 3
Sasillo 3
March
M Tu W Th F Sa Su
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 31
Topic Options
#214 - 05/08/13 07:49 AM Automatic Set-Time script (can be used with CRON)
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
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

Code:
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/30/15 06:22 AM Re: Automatic Set-Time script (can be used with CRON) [Re: Admin]
kikan Offline
VIP Japhar
journeyman

Registered: 07/31/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/30/15 06:34 AM Re: Automatic Set-Time script (can be used with CRON) [Re: Admin]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/22/10
Posts: 2634
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
#5337 - 01/22/16 09:01 PM Re: Automatic Set-Time script (can be used with CRON) [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Also available thru the JAM 5.2,

Admin


Attachments
screenshot.jpg


_________________________

Top



Moderator:  fairbird, gaga24, ludo19 
New Topics
ERROR after flashing OpenPLi 8.X star 20230624
by Sasillo
03/25/24 06:27 PM
Fatal: Target device '/dev/dreambox-rootf
s' is not

by Admin
03/22/24 02:45 PM
EchoStar wins DoD extensions for private 5G
by Admin
03/19/24 02:56 PM
DM900 red light
by slavekpl
03/17/24 03:42 PM
openpli-enigma2-8xst
ar-dm820 epgimport not install

by dmr
03/13/24 09:09 AM
openpli-20240306-GCC
-13.2-dm820

by dmr
03/12/24 01:01 PM
Build your own OSCam... Ubuntu 18 and 22 svn11737
by Admin
03/04/24 10:37 PM
EchoStar bleeds Boost Mobile subscribers
by Admin
03/04/24 04:35 PM
Old DM800HDpvr
by Rtm79
03/03/24 06:32 PM
Saluti
by Rtm79
03/03/24 06:19 PM
DM7020HD : OpenPLi 8.xStar 20240303 GSt 1.20.5
by Admin
03/03/24 12:57 PM
DM7020HD : OpenPLi 8.xStar 20240303 GSt 1.20.5
by Admin
03/03/24 12:57 PM