Cron for Kodi - Support Thread (formally CronXBMC)

  Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
wgstarks Offline
Posting Freak
Posts: 1,991
Joined: Jun 2013
Reputation: 17
Location: North Carolina, USA
Post: #91
Would also like to know how to delete cron jobs. I've got one with a typo. Can't edit or delete it from within the addon.

ASUS Chromebox M004U (LibreELEC 7.0.2/Aeon Nox SiLVO)--->HDMI--->Onkyo TX-NR646--->HDMI--->Panasonic P65VT30
find quote
kirkydman Offline
Junior Member
Posts: 30
Joined: Sep 2015
Reputation: 1
Post: #92
(2016-12-06 01:12)wgstarks Wrote:  Would also like to know how to delete cron jobs. I've got one with a typo. Can't edit or delete it from within the addon.
me neither!!!
find quote
kirkydman Offline
Junior Member
Posts: 30
Joined: Sep 2015
Reputation: 1
Post: #93
(2016-12-26 16:41)kirkydman Wrote:  
(2016-12-06 01:12)wgstarks Wrote:  Would also like to know how to delete cron jobs. I've got one with a typo. Can't edit or delete it from within the addon.
me neither!!!
the only way ive found is to go into addon data and look for service.cronxbmc
find quote
kirkydman Offline
Junior Member
Posts: 30
Joined: Sep 2015
Reputation: 1
Post: #94
(2012-03-09 23:12)robweber Wrote:  I have to say I'm a little disappointed. Three days and over 100 views later no one seems interested in this type of idea; even after all the "how to automate" type requests that seem to pop up in the forum.

I'm posting a link to what I have coded so far. Hopefully someone will stumble on this and have the know-how to finish up the GUI portion and make it user friendly. As of right now (as reported above) you can certainly add your timers manually via the cron.xml file and view them in the Programs area of XBMC. I added a nextRun() function that will figure out how long until the next run time - may be useful for the GUI or some pop-up notifications.


If anyone is seeing this for the first time and finds it interesting I'd be happy to collaborate on making it better. If downloading - view the README document for information on how to setup the cron.xml file with the correct formatting.
Brilliant little script, how do you edit the jobs tho? Cheers
find quote
wgstarks Offline
Posting Freak
Posts: 1,991
Joined: Jun 2013
Reputation: 17
Location: North Carolina, USA
Post: #95
I think I'll stick with just editing cron.xml for now. This script crashes my system on exit and no way to edit cron jobs. Nice script though. Looks like it just needs a little upkeep.

ASUS Chromebox M004U (LibreELEC 7.0.2/Aeon Nox SiLVO)--->HDMI--->Onkyo TX-NR646--->HDMI--->Panasonic P65VT30
find quote
robweber Offline
Posting Freak
Posts: 1,123
Joined: Sep 2009
Reputation: 38
Post: #96
Just as an update to this here is the current status of the GUI portion (related to not being able to select or delete jobs correctly) - https://github.com/robweber/cronxbmc/issues/4

I've messed with this as much as I can but GUI programming is just not my strong suit. The original was made for like pre-Kodi builds so it's quite old at this point. Editing the cron.xml file manually works just fine. It's in the addon_data folder for the addon. Check here to see where that is on your system: userdata (wiki)

If anyone wants to take a shot at updating the GUI that is probably the best bet to get this fixed. I don't think it would be too hard but most of the original GUI code would have to go. I wonder if using built in dialogs would be easier than all the custom skin files?
find quote
robweber Offline
Posting Freak
Posts: 1,123
Joined: Sep 2009
Reputation: 38
Post: #97
Got a little fed up with the limited GUI functionality myself and ripped it all apart this morning. Anyone interested pull the new version from the repo and try it out. Not quite as pretty as the old one as I tried to use built in Kodi elements rather than skin something custom.

https://github.com/robweber/cronxbmc
find quote
wgstarks Offline
Posting Freak
Posts: 1,991
Joined: Jun 2013
Reputation: 17
Location: North Carolina, USA
Post: #98
(2017-01-08 23:53)robweber Wrote:  Got a little fed up with the limited GUI functionality myself and ripped it all apart this morning. Anyone interested pull the new version from the repo and try it out. Not quite as pretty as the old one as I tried to use built in Kodi elements rather than skin something custom.

https://github.com/robweber/cronxbmc

Good news. I'll give it a shot later this week as soon as I get a little free time.

ASUS Chromebox M004U (LibreELEC 7.0.2/Aeon Nox SiLVO)--->HDMI--->Onkyo TX-NR646--->HDMI--->Panasonic P65VT30
find quote
Post Reply