Take the 2-minute tour ×

I would like to know how do i install python apscheduler on linux Ubuntu as a daemon? i have read the manual in here but i didn't understand how can i install it as daemon.

I wish to install it like a service and then attach (plug-in) to it all sorts of jobs.

any help?

share|improve this question
add comment

2 Answers

You need to set the daemonic configuration option to true as per the AP Scheduler Documentation Documentation on python.org

share|improve this answer
well i have tried this: <code>sched = Scheduler() sched.configure({'daemonic':'True'})</code> and nothing. I just want to schedule a task every 30 seconds ... –  Yossi Jun 20 '11 at 15:44
@Yossi: Disregard if you're already doing this and you only posted the relevant snippet... you need to import the scheduler, then start it - so open with from apscheduler.scheduler import Scheduler and end with sched.start() –  kathryn Jun 20 '11 at 22:20
add comment

it uses Scheduler which itself call after some schedule time. you will understand once you will go through scheduler

share|improve this answer
add comment

Your Answer


