skip to navigation
skip to content

Not Logged In

pytasks 1.0

work on time-triggered or event-triggered tasks

Latest Version: 1.3

#pytasks
用于执行`例行任务`

###Example-1

```
#tasks.py是用于test的py文件
% python pytasks.py
```

###Example-2
*
```
% vim tasks.py
```
*
```
#tasks.py ----do task at 2014-12-12 12:12:00

from datetime import datetime as _date
def task():
##do-something
print 'done-work'
task.schedule = lambda:_date(2014,12,12,12,12)
```
*
```
%python pytasks.py
```
*
done
 
File Type Py Version Uploaded on Size
pytasks-1.0.tar.gz (md5) Source 2014-08-27 4KB
  • Downloads (All Versions):
  • 4 downloads in the last day
  • 70 downloads in the last week
  • 259 downloads in the last month