Hi Terry,

> I grabbed fragments of code off the internet and it just worked. 

Congratulations;  you're a Javascript programmer.  :-)  I'm sure there
used to be a definition of that term somewhere, but perhaps it's been
sanitised.  There's still
https://en.wikipedia.org/wiki/Copy_and_paste_programming

> I want to run the MP3 Player inside the same program if possible.

Any particular reason?  This way, a problem with the player leaves your
program unharmed, ready to try again later.

> sched.add_job(hours, 'cron', hour='10')

Ah, OK.
http://apscheduler.readthedocs.io/en/latest/modules/triggers/cron.html#expression-types
suggests «hour='10-22'» may work, similarly 15,30,45 for the chimes.

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2017-02-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:[email protected] / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue     / TO THE LIST OR THE AUTHOR

Reply via email to