Take a Screenshot
Run another Addon or Script
Send a Notification
Set XBMC Volume
Update Music/Video Libraries
Additionally you can specifiy your timers to display an XBMC notification when they run. With most of the pieces were already in place from the updater addon I didn't think this would be too difficult.
Unfortunately I've come to the realization that my skills creating a GUI interface really suck. I was able to figure out some basic directory listing by looking at other addons but making dialogs for creating/editing the schedules is proving beyond my means. In short - I'm looking for someone with a little XBMC GUI experience to help polish this up.
What It Can Do So Far:
Right now I think I have most of the cron pieces done. There is a service that runs that will read in the cron file (an xml file) and run the various commands. I also wrote some utility methods to read and write jobs to the file (you can create new or edit existing). All of these functions are tested and work.
The cron jobs themselves are in an xml format
<job name="Job Name" expression="* * * * *" command="XBMCCommand()" show_notification="true/false" />
This will also allow some growth if we want to include other things via the GUI in time.
I also have a basic GUI started (see screenshot). I tried to modify the the RSS Editor addon dialog to serve as a job creator/editor, but this is where I got stuck.
Anyone interested in helping work on this project please send me a PM. Please only respond if you know something about the XBMC skinning framework, this is the part I need help with. I am going to create a GIT repo and upload all the code but want to get another person onboard before going through all the work. Personally I don't mind modifying the cron file manually, but I'd like to release this as an official XBMC addon and not finishing the GUI makes this kind of useless to the general public.
Thanks in advance to anyone interested!
Update - 4/22/2012
I've moved all the code for this addon to Github. I'm trying to consolidate all my projects there, plus it will be easier for someone to pick up with should anyone ever be interested. Everything in the release is exactly the same, just a new location.
Cron XBMC on Github - https://github.com/robweber/cronxbmc
Update - 3/02/2015
Due to some interest by third party developers I've updated this addon for Helix to use some more updated service addon functions. I've also added a module extension point so you can import the service.cronxbmc module in your own addons. To interface with the cron.xml file via the CronManager to so as follows:
from cron import CronManager,CronJob
manager = CronManager()
jobs = manager.getJobs()
#delete a job
#add a job
job = CronJob()
job.name = "name"
job.command = "Shutdown"
job.expression = "0 0 * * *"
job.show_notification = "false"
#Please be aware that adding or removing a job will change the job list (and change job ids) so please refresh your job list each time by using:
jobs = manager.getJobs()
#This will also pull in any new jobs that may have been added via other methods