Openbh-5.0.006 cron on Octgon sf8008

Wendy

Active member
I tried to run a Date.sh script via cron and print the result to Date.log in /tmp but got no result at all.
Manually the script works perfectly and a Date.log file is duly written to /tmp.
Can somebody check please. Thanks.
 

Wendy

Active member
I tried the same script on another python 3 image and it worked fine.
I set cron to execute every 5 minutes as per result in Date.log file in attached Date.rar
This does not work on Openbh.
 

Attachments

  • Date.rar
    123 bytes · Views: 7

Wendy

Active member
Maybe post the script so we can take a look ?
In the attached Details.rar please find the script file which I put in usr/script with chmod 755
and the root file which is in etc/cron/crontabs. Thanks
 

Attachments

  • Details.rar
    273 bytes · Views: 8

ettore88

New member
Hi guys.
Two questions: How do I access the OpenBh Addons Plugin menu?

I tried to add a channel list to the settings in the path etc / enigma2 Unfortunately it doesn't appear on reboot! Why?TNX in advance
 

Ev0

Admin
Staff member
Administrator
In the attached Details.rar please find the script file which I put in usr/script with chmod 755
and the root file which is in etc/cron/crontabs. Thanks
Wed Dec 29 15:45:01 GMT 2021
Wed Dec 29 15:50:02 GMT 2021
Wed Dec 29 15:55:01 GMT 2021
Wed Dec 29 16:00:01 GMT 2021
Wed Dec 29 16:05:01 GMT 2021
Wed Dec 29 16:10:01 GMT 2021
Wed Dec 29 16:15:01 GMT 2021
Wed Dec 29 16:20:01 GMT 2021
Wed Dec 29 16:25:01 GMT 2021
Wed Dec 29 16:30:02 GMT 2021
Wed Dec 29 16:35:01 GMT 2021

Did you stop and then restart the cron timer when you edited the crontabs ?
 

Ev0

Admin
Staff member
Administrator
Hi guys.
Two questions: How do I access the OpenBh Addons Plugin menu?

I tried to add a channel list to the settings in the path etc / enigma2 Unfortunately it doesn't appear on reboot! Why?TNX in advance
Off-topic for this thread, but I will answer anyway.

1) see here https://board.openbh.net/threads/openbh-functions-map.238/

2) menu - setup user interface - Channel selection - Load unlinked userbouquets change to yes and save.
 

Wendy

Active member
Wed Dec 29 15:45:01 GMT 2021
Wed Dec 29 15:50:02 GMT 2021
Wed Dec 29 15:55:01 GMT 2021
Wed Dec 29 16:00:01 GMT 2021
Wed Dec 29 16:05:01 GMT 2021
Wed Dec 29 16:10:01 GMT 2021
Wed Dec 29 16:15:01 GMT 2021
Wed Dec 29 16:20:01 GMT 2021
Wed Dec 29 16:25:01 GMT 2021
Wed Dec 29 16:30:02 GMT 2021
Wed Dec 29 16:35:01 GMT 2021

Did you stop and then restart the cron timer when you edited the crontabs ?


Yes I did a full reboot after I edited the crontabs. I will re-install the Image and see what happens.
 

Ev0

Admin
Staff member
Administrator
Yes I did a full reboot after I edited the crontabs. I will re-install the Image and see what happens.
Just double check your chmod is 644 on the crontabs file, if it's too high then it can cause issues.
 

Ev0

Admin
Staff member
Administrator
All I did was add the line to my crontabs file (making sure it remains unix format).

Send it to the box, then in the cron timers I stopped the timers and then started them again.

It all worked fine.
 

ettore88

New member
Hi guys.Just a question.I have noticed that after flashing from revcovery ...it is impossible to access via FTP.Why?Hw can i fix it?
 

Wendy

Active member
Tried again to set up crontab this evening and realized I was overlooking to stop/start the cron timers. In fact now it is working fine. Thanks @Ev0 for help and advice.
 
  • Like
Reactions: Ev0
Top