#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
用于执行`例行任务`
###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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytasks-1.0.tar.gz
(4.7 kB
view details)
File details
Details for the file pytasks-1.0.tar.gz.
File metadata
- Download URL: pytasks-1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9af9fd1863ca08dc68ce5b45010dd20f0958228bc0aafe11a2271d9e030996f5
|
|
| MD5 |
6d7476f03f607d44e629cc4a2fcef89b
|
|
| BLAKE2b-256 |
04ef86efa255e916e4748a3a838b65becf693513130eb6732099bede289f7a14
|