run some tasks which could look like CRON within linux/UNIX in python. Here's a demo which run on ubuntu12.04 sudo pip install apscheduler then 1) run a task at determained time 指定时间运行某个程序 2) run a task every period 指定周期运行某个程序 For 1) here is a
python高级之多进程 本节内容 多进程概念 Process类 进程间通讯 进程同步 进程池 1.多进程概念 multiprocessing is a package that supports spawning processes using an API similar to the threading module. The multiprocessing package offers both local and remote concurrency,effectively side-