crontab -e is used to edit crontab entries, but it uses a unix editor (which you can define, but it all gets a bit complicated).
crontab -e is used to edit crontab entries, but it uses a unix editor (which you can define, but it all gets a bit complicated).
Ive already said currently on OpenATV testing OpenVPN scripts ill flash Vix tomorrow, OpenATV uses Console().ePopen but the code in this thread uses os.system ill test both tomorrow
It was already on ITV 1 HD the highlighted in red code is the channel (BBC 1 HD) it is meant to Zap to so I thought that wasn't working as when I press standby again its still on ITV 1 HD, sorry if I was wrong as that is how i thought its meant to work.And that log claims that the channel was changed (to an HD one), so what makes you think that it isn't working?
The connection to IPTV does stop at least it does for me tested usingHe actually pointed out that it gets paused. I suspect that for a streaming service this just means it remembers the current position, but leaves the network connexions up.
Personally I reckon it would be better to stop a stream when entering standby by default - but then I donlt use them.it shows 1 connection when not in standby and 0 connections when in standbyCode:http://host:port/panel_api.php?username=uuuu&password=pppp&type=m3u_plus&output=ts
Apologise use Notepad ++ although its just editing a web addressDon't use notepad!!!
Last edited by dsayers; 02-03-18 at 19:12.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
One thing I can see with a quick look at the code is that it may not get started when you install it.
Have you rebooted the system since installing it?
Is there a crond process running (telnet in and type "ps -ef").
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
birdman (02-03-18)
Well, if I run crond on my et8000 with the root crontab file (which is in /etc/cron/crontabs) containing:
it runs every two minutes:*/2 * * * * /home/root/cron-testWhere is the file you've been editing? Oh, wait - you used crontab -e, so it knows where it is. So what does /var/log/messages contain (since it will report cron jobs running).Mar 2 22:13:02 et8000 cron.info crond[23654]: crond (busybox 1.24.1) started, log level 8
Mar 2 22:14:00 et8000 cron.info crond[23654]: USER root pid 23695 cmd /home/root/cron-test
Mar 2 22:16:00 et8000 cron.info crond[23654]: USER root pid 23781 cmd /home/root/cron-test
Last edited by birdman; 02-03-18 at 23:28.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
i edited mine from telnet with the command crontab -e
having a look at the location you mention, it seems to have put the cron jobs in a file /etc/cron/crontabs/root and the content of the file is,
I tried to get a log going but the log is empty.Code:10,20,30,40,50,00,45 * * * * /usr/scripts/bouqepg.sh >>/tmp/ten.log 00 * * * * /usr/scripts/bouqepg.sh >> /tmp/hour.log
but at the following location /ect/cron/ i have 3 crontab files each one containing the same info which is
Code:30 * * * * /usr/bin/ntpdate-sync silent 00 * * * * /usr/scripts/bouqepg.sh
I edited the crontabs/root file manually in notepad++ with this:
*/2 * * * * /usr/scripts/StandbyEnter.sh
I then restarted the GUI expecting it to run every 2 minutes but it didn't.
It did however start running every 2 minutes AFTER the hour.
This is how it looks in Cron Manager:
2018-03-02_223444.jpg
The path is /etc/cron/crontabs and there is just the root file and the readme.txt in there.
Something like... select the channel you want, press down key, guide appears, press menu, and it's in there somewhere.
Are you running OpenVix?
The correct file is /etc/cron/crontabs/root and your cron daemon (as seen - a bit truncated - in #52) has been told to look in /etc/cron/crontabs for the file(s).
What log, and how? The /var/log/messages file is always there, and if cron is running it reports each job that it starts there.I tried to get a log going but the log is empty.
What are they called?but at the following location /ect/cron/ i have 3 crontab files...
That first line is the first line of the default root crontab (no idea why it's there, though, as it shouldn't be - but that's for a different thread).each one containing the same info which is
Code:30 * * * * /usr/bin/ntpdate-sync silent 00 * * * * /usr/scripts/bouqepg.sh
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
ess2k (03-03-18)