from apscheduler.scheduler import Scheduler
def req():
print 'some thing like hello world or foo'
if __name__ == '__main__':
scheduler = Scheduler()
scheduler.add_date_job(req, datetime(2014, 1, 6, 21, 40, 00))
scheduler.start()
while True:
pass
i try above code
run it in python2.7 and cpu usage going up to 98% it is normal?! or something wrong with apscheduler package,
can improve it with more cores? please let me know about cpu usage in python thanks
Core of system 1