Hello everyone, this topic is of note for development specialists.
I have a series of tasks scheduled via crontab and within these I want to
incorporate the execution of a plugin, with the scripts I have no
problems I put "/usr/script/nombre.sh" and without problems but if I
want to run a plugin that from the menu plugins runs without problems I tried to do the test from console
command for once confirmed that it works put it in the crontab as the
following happens:
root @ vuultimo4k: / # python /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/crossepg_downloader.pyo
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/crossepg_downloader.py", line 1, in <module>
from enigma import getDesktop, iPlayableService, eTimer, eServiceReference
ImportError: No module named enigma
Can someone tell me what would be the command to execute plugins from the
console so that it works as when it is executed from the plugins menu
???? I understand that an expert should help me. It should not be very common to carry out these operations.
At the moment I have solved it in an unorthodox way and not the
desirable one since it does not use the graphical interface of the
plugin, but it is executed directly from the executable sending the
necessary parameters of reference and route,
/usr/crossepg/scripts/movistarepgdownload/movistarepgdownload.sh 1: 0:1: 75C6: 422: 1: C00000: 0: 0: 0: / media / usb / crossepg
Forgive for my english I'm using google.
Thanks for the help.
I have a series of tasks scheduled via crontab and within these I want to
incorporate the execution of a plugin, with the scripts I have no
problems I put "/usr/script/nombre.sh" and without problems but if I
want to run a plugin that from the menu plugins runs without problems I tried to do the test from console
command for once confirmed that it works put it in the crontab as the
following happens:
root @ vuultimo4k: / # python /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/crossepg_downloader.pyo
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/crossepg_downloader.py", line 1, in <module>
from enigma import getDesktop, iPlayableService, eTimer, eServiceReference
ImportError: No module named enigma
Can someone tell me what would be the command to execute plugins from the
console so that it works as when it is executed from the plugins menu
???? I understand that an expert should help me. It should not be very common to carry out these operations.
At the moment I have solved it in an unorthodox way and not the
desirable one since it does not use the graphical interface of the
plugin, but it is executed directly from the executable sending the
necessary parameters of reference and route,
/usr/crossepg/scripts/movistarepgdownload/movistarepgdownload.sh 1: 0:1: 75C6: 422: 1: C00000: 0: 0: 0: / media / usb / crossepg
Forgive for my english I'm using google.
Thanks for the help.