Kodi Community Forum

Full Version: Cron for Kodi - Support Thread (formally CronXBMC)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
It still crashes in Linux.
I got IPTV simple client using remote path
I try pkscout code did some change
<job name="Update tv Library" expression="0 2 * * *" command="UpdateLibrary(tv)" show_notification="false" />

it works but nothing change in livetv what is the correct command to work?
(2015-03-31, 20:09)Julipo Wrote: [ -> ]It still crashes in Linux.

Still crash on openelec with Kodi 15, can't edit any jobs also, need to do it in the XML file
(2015-10-12, 00:26)meowmoo Wrote: [ -> ]
(2015-03-31, 20:09)Julipo Wrote: [ -> ]It still crashes in Linux.

Still crash on openelec with Kodi 15, can't edit any jobs also, need to do it in the XML file

I suspect a debug log with the crash would help troubleshooting. Without it there's really nothing anyone can do but have sympathy for you.
You are right, I'm sorry, here are the logs
Your debug kodi.log: http://xbmclogs.com/pe2gqwe1b
Your debug kodi.old.log: http://xbmclogs.com/pwstos7ex
Just saw these, I'll look it over tomorrow.....stay tuned.
Ok, looking through the logs I see these lines:

Code:
21:31:16 T:140330070439680  NOTICE: service.cronxbmc-0.0.4 : running command Artist slidshow helper
21:31:16 T:140330070439680  NOTICE: service.cronxbmc-0.0.4 : Artist slidshow helper will run again on 10-13-2015 21:32
21:31:16 T:140330697402240   ERROR: ExecuteAsync - Not executing non-existing script artistslideshow-helper

You are trying to run an addon using the "RunAddon()" built in function right? The arg for that function has to be the full addon id. I think this is the addon you are going for: https://github.com/pkscout/script.artist...how-helper. The id for that addon is actually "script.artistslideshow-helper". Try putting that in your RunAddon() function and see what happens.
Just to confirm, that ID is correct. I run AS Helper in my CronXBMC jobs with this:

Code:
<job name="AS Helper" expression="30 4 * * *" command="RunAddon(script.artistslideshow-helper)" show_notification="false" />

That works fine for me.
Thanks, but that's not the problem.

Cron kills Kodi, when I try exit it.

I go to app, open cronxbmc, the gui show up, I can add a command, I can not edit any existing command, and when I'm pressing back, the gui starts fading out but Kodi freez and reboot.

Your debug kodi.log: http://xbmclogs.com/pfqaryh7t
Your debug kodi.old.log: http://xbmclogs.com/poknwjiwq


Your debug kodi.log: http://xbmclogs.com/psgr9zhew
Your debug kodi.old.log: http://xbmclogs.com/pzfpeqav5
The GUI killing Kodi on exit is a known issue. I've stated here multiple times in this thread that I'm not a GUI guy. I've written the service part of the addon and the interface was written by a user named Kr0nZ. I've made shout outs for someone to update it multiple times and it's never happened.That is probably the main reason I've never submitted this to the official Kodi repo. If you want to update the cron file you'll have to do it manually - or submit a patch to fix the GUI Smile

Probably not the answer you wanted but the service runs fine when you edit the files by hand. The GUI could be made a lot better and more intuitive but that takes a different type of skillset from the one I have. I'll happily patch the code if anyone steps up.
Is there a command to update addons? I've had a look in http://kodi.wiki/view/List_of_built-in_functions but can't see anything relevant.
This add on is what I need, now if I can only get it to work. I setup a Raspberry Pi 2 with OSMC. My movies play fine from the menu. I setup a job but the video never starts.
My cron.xml
Code:
<?xml version="1.0" ?>   <cron>   <job command="PlayMedia(/home/osbmc/Movies/English_CPR.m4v)" expression="*/4 * * * *" name="English_CPR" show_notification="True"/>   </cron>
Am I missing something?

Solved:
Typed the folder path wrong. Typing error it is "osmc", not "osbmc. Thanks for a great add on.
Just want to send you a big thank you for this addon... I'm not a developer at all, but I was able to use it to put together a scheduled reminder that should help my parents take their medications more regularly. Cheers!

http://forum.kodi.tv/showthread.php?tid=269962

Image
Tried to use Cron XBMC addon to today with Krypton & Estuary Skin, in order to add a cron job to run LibreELEC WebGrab+Plus add-on.
on rpi2; Like others have previously mentioned, kodi crashes as soon as attempt to exit the GUI of the Cron XBMC addon.

Milhouse Nightly LibreELEC Testbuild for RaspberryPi (Kodi 17.0) kodi crashlog
Is it possible to edit the cron file manually with a text editor? What is the file location?
Pages: 1 2 3 4 5 6 7 8