I'm trying to use this class to add some scheduling functionality to my application.
At now I'm working around a script configurator utility, see the attached image with name image1.jpg.
With the aid of the script configurator I should be able to choose the day of the week, the month and the starting time in a set spanning from 00 to 23 (24h format) with the freedom to choose the starting minutes that will be the same for every hour selected (if is possible select also a custom minute for every hour this should be the best choice but at this time I don't know if this is possible).
Suppose that you like to start a job every January and February on Monday and Thursday at this time 00:30, 12:30, and 23:30 In my thinking I've to set the form as shown in image2.jpg.
Now I like to know how to compose the command string that I've to pass to the scheduler in order to setup this job.
From the web page http://pythonhosted.org/APScheduler/cronschedule.html
I think that the configuration string should be this one:
sched.add_cron_job(job_function, month='1-2', day='mon-thu', hour='0-12-23', minute=30)
but I'm not sure if this is correct, someone have better knowledge on the subject and can give me a hint?
Also to choose a arbitray minutes is possible to setup the scheduler with the minutes specified inside the hour tag like:
hour = '0:15-12:10-23:30'
to fire event at 00:15, 12:10 and 23:30?
Thanks in advance and