Display More
Regarding setting up cron to temporarily replace awiouy provided service.webgrabplus, this is what I did and works for me :-1. Disabled WebGrab+Plus service addon via Kodi UI (Fully disables addon, but currently believe does not fully disable service?)
2. Disabled service via ssh and command line (systemctl stop service.webgrabplus "then" systemctl disable service.webgrabplus)
3. Utilised a cron job to run awiouy webgrabplus.start automatically and only once a day at 03:00Added following line within root file /.cache/cron/crontabs/root (via ssh and using crontab -e command)
0 3 * * * /.kodi/addons/service.webgrabplus/bin/webgrabplus.start
Above will ensure job is run at 03:00 every day as Cron is enabled by default in LibreELEC on my RPi2, so simply re-booting device ensures that cron job(s) runs at set time every day.
Note: Above still utilises the webgrabplus addon via mono as provided by awiouy (Thanks so much)
I assume you forgot to type /storage in the crontab? Or, does that work?
I have finally forced cron to work on my RPi by running "systemctl start cron" evidently that forced cron to sync it's clock to the system clock.
[hr]
If I add a before.sh or after.sh, are you guys are talking Linux and assuming we all know to add
#!/bin/sh
at the top of the script and the chmod 755 script.name?
Or, that is not needed?
I also gather those scripts go into /storage/.kodi/userdata/addon_data/service.webgrabplus ?